minotaur
is a command-line maze generator.
Currently, the Rust toolchain is required for installation:
From crates.io:
bash
cargo install minotaur
From source:
bash
$ git clone git@github.com:jonstites/minotaur
$ cd minotaur
$ cargo build --release
$ ./target/release/minotaur --version
minotaur 0.2.0
``` 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
-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]
```
bash
./target/release/minotaur --seed 12345678
+---+---+---+---+---+
| |
+ + +---+---+ +
| | | |
+---+ + +---+ +
| | | |
+ +---+ +---+ +
| | | |
+ + +---+---+ +
| | | |
+---+---+---+---+---+
bash
./target/release/minotaur --seed 12345678 -o examples/maze.png --cell-size 50 --wall-size 5
Licensed under either of
at your option.
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.