https://github.com/usagi/wonderland.maze
C++ header only maze generaters and solvers library.
https://github.com/usagi/wonderland.maze
Last synced: 28 days ago
JSON representation
C++ header only maze generaters and solvers library.
- Host: GitHub
- URL: https://github.com/usagi/wonderland.maze
- Owner: usagi
- License: mit
- Created: 2014-06-21T17:18:42.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-23T08:58:25.000Z (almost 12 years ago)
- Last Synced: 2025-01-13T11:11:17.637Z (over 1 year ago)
- Language: C++
- Size: 145 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
wonderland.maze
===================
C++ header only maze generaters and solvers library.
## Note
the project has not tagged release version yet.
## Dependancy
C++ std only
## Example
- [example/example-1.cxx](example/example-1.cxx)
### Building and Usage
- Building
1. `git clone git@github.com:usagi/wonderland.maze.git`
1. `cd wonderland.maze`
1. `mkdir build`
1. `cd build`
1. `cmake ..` with if you want `-G Ninja`, `-DCMAKE_CXX_COMPILER=em++`, etc.
1. `make`, `ninja` or your buid tool.
- Usage
- Generators: `example/generate_drill_2d 55 33 AA BB CC DD EE`
- the 1st parameter( 55 ) is width. require odd number.
- the 2nd parameter( 33 ) is height. require odd number.
- the 3rd parameter( AA ) is block cell showing string.
- the 4th parameter( BB ) is road cell showing string.
- the 5th parameter( CC ) is unkown cell showing string.
- the 6th parameter( DD ) is start cell showing string.
- the 7th parameter( EE ) is goal cell showing string.
- `example/generate_drill_2d > file.txt` if you want save to a file.
- Solvers: `example/solver_dijkstra_2d < file.txt`
## Support compilers
- clang++ >= 3.3.0
- g++ >= 4.8.2
- em++ >= 1.20.0
## License
[MIT](LICENSE)
## Author
Usagi Ito