pi-minesweeper
v1.1.1
Published
Minesweeper for pi coding agent — classic mine-clearing puzzle
Readme
pi-minesweeper
Classic Minesweeper for pi coding agent.
Install
npm i -g pi-minesweeperAdd to ~/.pi/agent/settings.json:
{ "packages": ["npm:pi-minesweeper"] }Play
/minesweeper
/mines
/sweepControls
| Key | Action | |-----|--------| | ←↑↓→ / WASD / HJKL | Move cursor | | Space / Enter | Reveal cell | | F | Toggle flag | | R | Restart | | 1/2/3 | Easy/Medium/Hard | | Q / Esc | Quit |
Difficulty
- Easy: 9×9, 10 mines
- Medium: 16×16, 40 mines
- Hard: 16×30, 99 mines
Features
- Flood fill (auto-reveal empty regions)
- First click is always safe
- Flagging with mine counter
- Timer + best times per difficulty
- Box-drawing grid with 24-bit color
