From 317bd359bce85aa31a55437f276d2e3e2c063e44 Mon Sep 17 00:00:00 2001 From: Anthony Scopatz Date: Mon, 25 Feb 2013 17:22:57 -0600 Subject: [PATCH] added some comments --- docs/_static/fief-dungeon.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/_static/fief-dungeon.js b/docs/_static/fief-dungeon.js index 9accf21..97c0770 100644 --- a/docs/_static/fief-dungeon.js +++ b/docs/_static/fief-dungeon.js @@ -94,6 +94,8 @@ function onKeyDown(k) { tick(); } +// Maze functions modified from the ones at +// http://rosettacode.org/wiki/Maze_generation#JavaScript function mazegen(x,y) { var n=x*y-1; if (n<0) {alert("illegal maze dimensions");return;}