The maze
command without the arguments prints the random maze to the standard output.
maze
We can play the maze on the terminal with --interactive
.
maze --interactive
The --format color
is a good option to print the colored maze. Also we can specify the size of the maze with --width
and --height
.
maze --width 20 --height 10 --format color
We can toggle the solution with the s
key.
If we change the font size of the terminal smaller, we get a large maze.
brew install itchyny/tap/maze
go install github.com/itchyny/maze/cmd/maze@latest
Report bug at Issues・itchyny/maze - GitHub.
itchyny (https://github.com/itchyny)
This software is released under the MIT License, see LICENSE.
Special thanks to the termbox-go library.