MINE(1)

NAME

mineMinesweeper in Terminal

SYNOPSIS

INFO

77 stars
3 forks
0 views

DESCRIPTION

Minesweeper in Terminal

README

Terminal Minesweeper

thumbnail

This screenshot is slightly outdated, but I could not be bothered to update it, sorry

Quick Start

It's written in Free Pascal (sorry about that).

$ fpc ./mine.pas
$ ./mine

Controls

keydescription
w,a,s,dMove cursor around
SPACEOpen cell
fFlag/unflag cell
rRestart
qQuit

Debug Mode

Build with debug mode:

$ fpc -dDEBUG mine.pas
$ ./mine

Debug Controls

keydescription
pPeek behind closed cells

Solver

The game comes with an automatic solver written in C. See ./agent.c.

$ cc -o agent agent.c
$ ./agent -i ./mine

SEE ALSO

clihub5/4/2026MINE(1)