Created
July 26, 2013 09:55
-
-
Save samundra/6087700 to your computer and use it in GitHub Desktop.
Requires more precised description, tried to understand it and http://i76.photobucket.com/albums/j5/alexshr/null_zps4bba71f9.jpg is my understanding. I don't know if its correct or not
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @see http://dstromberg.com/2013/07/tutorial-random-maze-generation-algorithm-in-javascript/ | |
var pot = [[currentCell[0]+1, currentCell[1], 2, 0], | |
[currentCell[0], currentCell[1]+1, 1, 3], | |
[currentCell[0]-1, currentCell[1], 0, 2], | |
[currentCell[0], currentCell[1]-1, 3, 1]]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have updated the code and the article with a minor change which may help in understanding this more fully. Let me know if that is helpful, or if there is another area of this that you would like some more detail on.