Mazes

Generating Mazes in code is a fun challenge.

The first screenshot shows a generated maze and an optimized path through it. The coloring indicates the distance of squares from the start. We used Djekstra’s algorithm of the path search.

The second screenshot shows a simple voxel renderer I made, with a circular maze generator.

We taught Maze generation on two occasions at York Code Dojo

Mazes

Mazes

comments powered by Disqus