Skip to content

Commit

Permalink
added some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
scopatz committed Feb 25, 2013
1 parent 3fc6eef commit 317bd35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/_static/fief-dungeon.js
Expand Up @@ -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;}
Expand Down

0 comments on commit 317bd35

Please sign in to comment.