I’ve been hacking on a maze generator in C# using nothing but the Wikipedia article about maze generation (https://en.wikipedia.org/wiki/Maze_generation_algorithm) and the trusty .NET standard library. The algorithm is surprisingly elegant, although I’m not 100% done yet. #DotNet #CSharp #Maze
Maze generation algorithm - Wikipedia

@julia Oh shoot, you may have just blown up my Friday. How am I supposed to not implement each of these so I can compare results for myself?

@drittich Oof, sorry, haha :)

For some reason, I’m having a tough time wrapping my head around the “remove the wall” part, so I’m a little stuck.

@julia I've been playing around a bit and have implemented the first two algorithms in javascript if that's of any interest to you: https://github.com/drittich/js-maze-many
GitHub - drittich/js-maze-many: A JavaScript implementation of some maze algorithms from the book "Mazes for Programmers".

A JavaScript implementation of some maze algorithms from the book "Mazes for Programmers". - GitHub - drittich/js-maze-many: A JavaScript implementation of some maze algorithms from the b...

GitHub
@drittich Cool! Thanks for sharing!