This is the result of fooling around with an algorithm that creates mazes. One does them in 3d, and the other in 2d. The 2d one also lets you wander around in the maze as though you were actually there. The code should all be reasonably generic. (c)Copyright 1987 Kevin Smathers. These files may be freely distributed for non-profit purposes.