Name Mode Size
.gitignore 100644 0 kb
LICENSE 100644 1 kb
Makefile 100644 0 kb
README.md 100644 4 kb
maze.cpp 100644 4 kb
README.md
# [`cxx-maze`][] A simple C++11 command line maze generator. Features: - Printing (with buffering) - Callback during generation - Algorithms - Hunt And Kill - Handles mazes of any size - Random with seed (time in seconds since the epoch by default) - Fairly fast (10000*10000 cells in ~1200ms) [`cxx-maze`]: https://git.rcrnstn.net/rcrnstn/cxx-maze ## Example ``` $ make $ ./maze dummy 1193ms $ ./maze ██ ████████████████████████████████████████████████████████████████████████████ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██████████████ ██████ ██ ██████ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██████ ██ ██ ██ ██████ ██████ ██ ██ ██████████████ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██████████ ██ ██ ██████ ██ ██ ██████████████ ██████████ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██████ ██ ██████████████ ██ ██ ██████████████ ██████ ██ ██████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██████ ██ ██████████████ ██████████████ ██ ██ ██████ ████████████████████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██████ ██ ██████ ██ ██ ██████████████ ██ ██ ██ ██ ██████████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██████████████ ██ ██████ ██████████████████ ██ ██ ██ ██████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██████ ██ ██ ██████ ██ ████████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██████ ██ ██ ██████ ██ ██ ██████████████ ██ ██████ ██ ██████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██████████ ██ ██████ ██ ██ ██ ██ ██████████ ██ ██████ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██████████████████████████████████████████████████████████████████████████ ████ ``` <style>#example ~ pre { line-height: 1; }</style> ## License Licensed under the [ISC License][] unless otherwise noted, see the [`LICENSE`][] file. [ISC License]: https://choosealicense.com/licenses/isc [`LICENSE`]: LICENSE