Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are lots of different ways to build mazes [1]. My favorite is Prim's Algorithm, which "grows" a maze.

[1] http://en.wikipedia.org/wiki/Maze_generation_algorithm



A few weeks ago I was fooling around implementing algorithms from that page and Prim's Algorithm looked really cool, so I implemented a version with randomized colors on my homepage: http://jeff.is/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: