~/tools/minesweeper

Minesweeper.js

Classic logic puzzle in terminal dress. Click to dig, right-click (or F-mode) to flag. Numbers count adjacent mines. Don't pop the pink ones.

What is this? Hide details

What is Minesweeper?

Classic Minesweeper rebuilt with a synthwave terminal aesthetic. Difficulty presets (easy, medium, hard, extreme), keyboard and touch controls, persistent best times via localStorage. No installs, no signup, no analytics; the game logic and timer all run locally in your browser. Works offline once the page loads.

minesweeper.js

Controls

last used

Touch

  • tapreveal a cell
  • holdflag a mine
  • tapclear around a number
  • flag-mode button for one-handed play

Keyboard

  • move the cursor
  • ENTERSPACEreveal a cell
  • Fflag a mine
  • Cclear around a number
  • Ppause menu
  • Rrestart

Controller

  • D-PADmove the cursor
  • Areveal a cell
  • Bflag a mine
  • Xclear around a number
  • Ytoggle flag mode
  • STARTpause menu

The first dig is always safe. Numbers count the mines touching a cell.

Difficulty
Mines 32
Time 000
Best
right-click to flag · long-press on mobile · click a number to chord