Maze Generator, by robert on 18/10/09

I am working on a 3D engine in C++ for a dungeon crawler style game. I wanted to have the levels generated on the fly so that every time you play you get a different map.

Here is a quick maze generating algorithm I made for this task. It works by carving out paths if the new path only connects to one old one at one side.
Catagory: experiments