/swiftmaze

Primary LanguageSwift

swiftmaze

Mac app to demonstrate some algorithms for generating mazes.

I've included 5 so far: Recursive Division, Backtracking, Kruskal, Eller and Wilsons algorithms.

Implemented with a lot of help from: http://weblog.jamisbuck.org/2011/2/7/maze-generation-algorithm-recap

examples:

Recursive Division:

Screenshot

Backtracker:

Screenshot

Kruskal:

Screenshot

Eller:

Screenshot

Wilson:

Screenshot

Also includes some solving algorithms:

Screenshot