Generating Maze using Python
August 2, 2007
Do you like mazes?
eriol@mornie:~$ python maze.py
+--+--+--+--+--+--+--+--+--+--+
| | | | |
+ + + +--+ + +--+ + + +
| | | | | | | |
+ + + +--+--+--+ +--+--+ +
| | | | | | |
+ + +--+ + +--+--+ + + +
| | | | | | |
+ + + +--+--+--+--+--+--+ +
| | | | |
+ +--+--+ + + +--+--+--+ +
| | | |
+--+--+--+--+--+--+--+--+--+--+
After reading this good article, I decided to wrote some code to generate a perfect maze :D
The result is here ...
