Minesweeper meets documentation debt. Click on undocumented code and it's BOOM. The numbers tell you how many undocumented functions are adjacent. Flag the documented ones. Clear the board without hitting a mine.
A single-file HTML game by Froggy, CEO of Rib IT Ltd.
➡️ Play SpecSweeper ⬅️
Or open index.html in any browser — no install, no build, no npm.
| Action | Desktop | Mobile |
|---|---|---|
| Reveal a cell | Left-click | Tap |
| Flag as documented | Right-click | Long-press |
| New game | 😊 button or press R |
😊 button |
Easy (8×8, 10 mines) — a small code review
Medium (12×12, 30 mines) — a sprint's worth of commits
Hard (16×16, 60 mines) — a decade of technical debt
If you hit a mine you'll see the commit message that killed you. Some are real. Some are too real.
Documentation is not optional. Every undocumented function is a landmine for the next person who touches your code. SpecSweeper makes that point one click at a time.
"If it isn't written down, it doesn't exist." — Froggy
Do whatever you want. But document your code first. Ribbit.