Skip to content

itchyny/maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maze

CI Status

maze

Usage

The maze command without the arguments prints the random maze to the standard output.

maze

maze

We can play the maze on the terminal with --interactive.

maze --interactive

maze

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

maze

We can toggle the solution with the s key. maze

If we change the font size of the terminal smaller, we get a large maze. maze

Installation

Homebrew

brew install itchyny/tap/maze

Build from source

go install github.com/itchyny/maze/cmd/maze@latest

Bug Tracker

Report bug at Issues・itchyny/maze - GitHub.

Author

itchyny (https://github.com/itchyny)

License

This software is released under the MIT License, see LICENSE.

Special thanks

Special thanks to the termbox-go library.

References