I made a thing! ( Check it out here )
A few years ago I decided it would be a fun project to build a maze generator. My initial attempt was a failure, as is often the case. My second attempt turned out much better. It was written in Python using PyGame for the rendering and controls. It was my first experience using Python to build something, and it was a lot of fun.
This is my third attempt at the project. My main motivation behind restarting was to be able to easily share the work with others. This is the kind of thing that’s (arguably) fun to play around with for a few minutes at most. It’s hardly something that’s worth installing PyGame just to play around with.
Depth First Search
This one is a classic. It’s about as simple as it gets to implement. I find it a little bit boring to watch, but the mazes it produces are pretty cool, tending towards longer, winding passages.
I like watching this algorithm in action. The maze it produces tends to have shorter passages. I’ve found that the path to from start to finish is usually very straight, diagonally through the maze.
More to Come!
I’ll be implementing more maze algorithms as I have time. Please check out the source code on github if you’re interested