Files
2026-10-25 03:15:54 +00:00

1.2 KiB

Minotaur

minotaur.jpg

minotaur is a terminal maze game, written in June-August of 2020. Guide Theseus (magenta) to the exit (green) before the Minotaur (yellow) catches you.

The maze is generated with the growing tree algorithm.

maze.webp

At each tick, the Minotaur advances one cell along the shortest path toward Theseus. When the game ends, it prints your survival time in seconds.

minotaur.webp

NB: these videos are from development. There is a small maze generation bug in them that was fixed. The current program has some small differences in behavior.

Usage

minotaur [-h ROWS] [-w COLUMNS] [-t MS]

Flags:

  • -h — height in terminal rows (default: terminal rows)
  • -w — width in terminal columns (default: terminal columns)
  • -t — milliseconds between Minotaur movements (default: 250)

Controls

  • Arrow keys — move Theseus
  • s — toggle the shortest path to the exit (blue)
  • q — quit

Installation

go install code.chimeric.al/dwrz/minotaur/cmd/minotaur@latest