Minotaur
minotaur is a command-line maze generator.
Installation
Currently, the Rust toolchain is required for installation:
From crates.io:
From source:
Usage
minotaur 0.2.0
Jonathan Stites <mail@jonstites.com>
A command-line program for generating mazes.
USAGE:
minotaur [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-a, --algorithm <algorithm>
Maze generating algorithm [default: BinaryTree] [possible values: BinaryTree,
Sidewinder]
-x, --width <width> Maze width in number of cells [default: 5]
-y, --height <height> Maze height in number of cells [default: 5]
--background-color <background-color> Background color when saving to an image file [default: #FFFFFF]
--cell-size <cell-size> Cell size when saving to an image file [default: 10]
-o, --output <output>
Output file. Can be ".png" for an image - otherwise, saves as ASCII art [default: /dev/stdout]
-s, --seed <seed> Seed for random number generator
--wall-color <wall-color> Wall color when saving to an image file [default: #000000]
--wall-size <wall-size> Wall size when saving to an image file [default: 1]
Examples
| |
| | | |
| | | |
| | | |
| | | |

License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.