Javascript Minesweeper

By: Kenny Loveall

Mines left:





Dan Win Mode:

Minesweeper Rules

  1. The object of the game is to discover the location of all mines hidden on the board.
  2. Clicking on a cell reveals either the number of cells touching it that have mines (including diagonally) or a mine, which means you lose.
  3. Use flags to indicate where you believe a mine to be and question marks to indicate where you think there might be one
  4. The game ends when either all mines have been flagged, the only things left uncovered are mines or you click on a mine.
  5. Double clicking on a number reveals all adjacent numbers if you have flagged/question marked the mines touching that cell.
  6. Note: this version of minesweeper auto-validates on each play.