mazelib icon indicating copy to clipboard operation
mazelib copied to clipboard

Document: Odd / Even Cell Differences

Open john-science opened this issue 4 years ago • 1 comments

When I originally developed this library I was able to prove (mathematically) that there was no difference between a maze with thick or thing walls when it came to generating or solving them.

So I came up with the space-saving, dense array notion of making sure all rooms and hallways were on odd cells, and all walls were on even-numbered rows/columns in the array.

This was a fine idea, and I still like it. But if a user wants to hand-draw their own maze (which they should be able to do), they need to know about this quirk.

This needs to be better documented for the users.

Thanks to @kburavskij for bringing this to my attention.

john-science avatar Jul 12 '21 03:07 john-science

The original issue can be found here: https://github.com/theJollySin/mazelib/issues/118

john-science avatar Jul 12 '21 03:07 john-science