MINE(1)
NAME
mine — Minesweeper in Terminal
SYNOPSIS
INFO
77 stars
3 forks
0 views
DESCRIPTION
Minesweeper in Terminal
README
Terminal Minesweeper
![]()
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
| key | description |
|---|---|
| w,a,s,d | Move cursor around |
| SPACE | Open cell |
| f | Flag/unflag cell |
| r | Restart |
| q | Quit |
Debug Mode
Build with debug mode:
$ fpc -dDEBUG mine.pas
$ ./mine
Debug Controls
| key | description |
|---|---|
| p | Peek 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
neovim(1)— Hyperextensible Vim-based text editor — the future of Vimtmux(1)— Terminal multiplexer — split panes, detach sessions, pair programhyperfine(1)— A command-line benchmarking tool — measure execution timestokei(1)— Count lines of code quickly — supports 150+ languagescftunnel(1)— 全协议内网穿透 CLI — Cloud 模式免费 HTTP/WS 穿透 + Relay 模式自建中继 TCP/UDP 全协议 | Cloudflare Tunnel + frp 双引擎
clihub5/4/2026MINE(1)