Mazex is a tool for generating mazes using different algorithms and rendering them as png images.
| Instalation | Usage | Algorithms | License
In order to install mazex you need to have Elixir installed.
After that you can clone this repository and compile the project by running mix compile
Maze can be generated by using mix mazex
task. This tasks accepts the following options:
## Options
--rows # Number of rows for the maze
--columns # Number of columns for the maze
--algorithm # One of the following algorithms: binary_tree, sidewinder
--output # Output folder if not given it will use the current folder as output folder
--filename # File name to be used for generated maze image, if not given it will use the maze_<current_timestamp>.png.
Example:
mix mazex --rows=10 --columns=15 --algorithm=binary_tree
mix mazex --rows=10 --columns=15 --algorithm=sidewinder --output=/tmp --filename=maze.png
Supported maze algorithms:
Copyright © 2017–2020 Alexandru Bogdan Bâgu
Distributed under the MIT License.