CodingTrain / Suggestion-Box

A repo to track ideas for topics
568 stars 86 forks source link

Using Disjoint Set Union to Build a Maze Generator #1777

Open PeteHaughie opened 1 year ago

PeteHaughie commented 1 year ago

As a follow-up to the 10 Print CHR$(205.5+RND(1)) maze generation technique I offer a pretty unique and elegant take on the same problem.

https://betterprogramming.pub/using-disjoint-set-union-find-to-build-a-maze-generator-7462ea3b8632