MCPcopy Index your code
hub / github.com/Canop/mazter

github.com/Canop/mazter @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
138 symbols 301 edges 18 files 33 documented · 24%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Mazes in your terminal.

MIT Latest Version Chat on Miaou

Mazter is a maze game and generator, with fluid moves and an adaptative rendering dynamically finding the resolution which best suits your terminal's size.

Install

Either

See options

mazter --help

Play

Simply run

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 more lives on green squares.

screenshot

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:

mazter --user gael

You can see the Hall of Fame with mazter --hof:

screenshot

Just generate a maze

build a random maze

mazter --build

screenshot

build a maze for a given level

mazter --build --level 20

Just gaze

With the screen-saver mode, mazter plays by himself, even taking a place in the hall of fame.

mazter --screen-saver

Core symbols most depended-on inside this repo

set
called by 21
src/pos_map.rs
get
called by 16
src/pos_map.rs
is_room
called by 15
src/maze.rs
contains
called by 10
src/achievements.rs
is_empty
called by 8
src/events.rs
is_alternate
called by 8
src/renderer.rs
draw_bicolor_horizontal
called by 8
src/cell_draw.rs
draw_bicolor_vertical
called by 8
src/cell_draw.rs

Shape

Method 105
Class 17
Function 10
Enum 6

Languages

Rust100%

Modules by API surface

src/maze.rs43 symbols
src/achievements.rs17 symbols
src/pos.rs16 symbols
src/renderer.rs13 symbols
src/events.rs9 symbols
src/pos_map.rs8 symbols
src/specs.rs6 symbols
src/dim.rs5 symbols
src/skin.rs4 symbols
src/layout.rs4 symbols
src/main.rs3 symbols
src/cell_draw.rs3 symbols

For agents

$ claude mcp add mazter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page