3 ms·
If you enjoyed that, I have a blog post on generating mazes in Haskell (from over a decade ago!). The algorithm is very similar, but the code is written using "
by tikhonj 1y ago
If you enjoyed that, I have a blog post on generating mazes in Haskell (from over a decade ago!). The algorithm is very similar, but the code is written using "inductive graphs" and the post is really more of an intro to working with graphs in a purely functional style.
https://jelv.is/blog/Generating-Mazes-with-Inductive-Graphs https://jelv.is/blog/Generating-Mazes-with-Inductive-Graphs