Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Canop/mazter
Mazes in your terminal
https://github.com/Canop/mazter
Last synced: about 2 months ago
JSON representation
Mazes in your terminal
- Host: GitHub
- URL: https://github.com/Canop/mazter
- Owner: Canop
- License: mit
- Created: 2022-07-27T13:36:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-28T17:10:43.000Z (5 months ago)
- Last Synced: 2024-02-28T18:52:00.708Z (4 months ago)
- Language: Rust
- Size: 78.1 KB
- Stars: 35
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- cli-apps - mazter - A maze in your terminal. (<a name="games"></a>Games)
- awesome-cli-apps - mazter - A maze in your terminal. (<a name="games"></a>Games)
- awesome-stars - Canop/mazter - `★35` Mazes in your terminal (Rust)
README
A maze in your terminal.
[![MIT][s2]][l2] [![Latest Version][s1]][l1] [![Chat on Miaou][s4]][l4]
[s1]: https://img.shields.io/crates/v/mazter.svg
[l1]: https://crates.io/crates/mazter[s2]: https://img.shields.io/badge/license-MIT-blue.svg
[l2]: LICENSE[s4]: https://miaou.dystroy.org/static/shields/room.svg
[l4]: https://miaou.dystroy.org/3490?mazter![screenshot](website/level-9.png)
Mazter is a maze game and generator, with an adaptative rendering dynamically finding the resolution which best suits your terminal's size.
## Install
Either
* download the precompiled binaries from the [official site](https://dystroy.org/mazter),
* or [install the Rust development environment](https://rustup.rs/) then run `cargo install mazter`## See options
```bash
mazter --help
```## Play
Simply run
```bash
mazter
```Move with the arrow keys to exit the maze.
An encounter with a red monster teleports you a short distance, and removes one life.
You get lives on green squares.
![screenshot](website/level-46.png)
As your accomplishments are saved, you'll start at the first level you didn't already win.
But you may replay a previous level with `mazter --level 3`.
If you're several players on the same account, you should specify who's playing:
```bash
mazter --user Gael
```You can see the Hall of Fame with `mazter --hof`:
![screenshot](website/hof.png)
## Just generate a maze
### build a random maze
```bash
mazter --build
```### build a maze for a given level
```bash
mazter --build --level 20
```