sraaphorst / spelunker

Maze generation and solving library
Other
11 stars 2 forks source link

T8: Fixed the recursive division algorithm and simplified. #42

Closed sraaphorst closed 6 years ago

sraaphorst commented 6 years ago

We now no longer randomly split, but always split on the axis that is larger.

This seems to produce much, much better mazes; random choice, even with extra parameters, resulted in ugly mazes with very long passages that did not resemble other recursive division mazes.