Minesweeper
Classic minesweeper puzzle. Clear the board without going BOOM!
Game time:
Mines: {{ flagsRemaining }}
{if(!isIOS){revealCell(rowIndex, colIndex);}}"
@contextmenu.prevent="(event)=>{if(!isIOS){toggleFlag(rowIndex, colIndex);}}"
@pointerdown="(event)=>{toggleFlagOnIOS(event, rowIndex, colIndex)}"
@pointerup="(event)=>{toggleFlagOnIOS(event, rowIndex, colIndex)}"
:data-rowIndex="rowIndex"
:data-colIndex="colIndex"
>
{{ cell.adjacentMines }}
Game over!
You win!
Configure settings and click "New Game" to start.
MineSweeper is a classic puzzle game where the player must clear a grid of hidden mines without detonating any. The game's purpose is to use logic and deduction to identify mine locations based on numerical clues that indicate the number of adjacent mines.
The player clicks on squares to reveal them—if a mine is revealed, the game ends. If a number appears, it indicates how many mines are in the surrounding squares. Right-clicking allows the player to flag suspected mine locations. The goal is to clear the entire grid without triggering a mine, testing both strategy and risk assessment.