@terminalgames/ink-minesweeper

Minesweeper

9×9 beginner or 16×16 intermediate. First click never hits a mine. Pass `--seed` to replay a board.

Press ? in-game for keybinds.

Run once

Install globally

npx @terminalgames/ink-minesweeper
Minesweeper terminal screenshot

Controls

Arrow keys work wherever hjkl does.

h j k lCursor
SpaceReveal
fFlag
cChord
1 / 2Switch difficulty
?Help
qQuit

Flags

Pass after the command, e.g. ink-minesweeper --seed 42.

--seed <n>Replay a specific board
--difficulty beginner|intermediate9×9 or 16×16

Gameplay

Recorded in a truecolor terminal with the 3024 Night theme.

Minesweeper gameplay demo