Maze Generator

This is a piece of python code that has the ability to generate massive mazes. (I created it on the 13th of June 2013 as a one-day project - I was curious as to how big a maze I can get) The algorithm requires extreme depths of recursion, amounts beyond what Python can handle, so I had to bypass this problem by creating my own stack and writing the content of it onto the disk when it became too large.

For extremely large mazes, the program has the ability to cut the maze up into sectors to avoid running out of memory, yet keeping the currently active sectors in the RAM.


Sample output

All links from the CV