Minesweeper
Every number is a constraint around a hidden mine
Reveal a cell, place a flag, and turn the neighborhood counts into a safe route through the grid.
Choose a difficulty, reveal cells with row and column commands, and flag the squares you believe contain mines. The first click is safe; after that, every number is evidence about its neighbors.
ASCII graphics keep the state visible and the deductions close to the prompt. Clear the board without guessing past what the numbers can support.
Sweep Script
Drive a clean Minesweeper board with saved Bash, visible-state sensors, and the same row-column action grammar used by hand.
Durable workspace
~/minesweeperRead README.txt; start with sweep.sh. Your files remain yours between runs.
Sensors
scan [ROW COL]
Actions
r ROW COLf ROW COL
Practice evidence
histogram · gif · replay · run-receipt · account best
Ruleset: minesweeper-sweep-script-v1
Practices: Bash scripts · coordinates · environment variables · state observation
Run $ minesweeper --script →What you will see
Reveal and flag by typed coordinates.
How this command behaves
- Built for a solo session
- Save and resume your game
- Track your statistics and high scores
- Build and keep real Bash files in ~/minesweeper
- Measured automation outputs include histogram and gif and replay and run-receipt
- Runs in the browser; nothing to install
- Playable entirely from the keyboard
Start it from the prompt
Usage
minesweeper [savename]Aliases
ms
Ready when you are. The terminal will open directly into Minesweeper.
Run $ minesweeper →