Minesweeper game

written in Java by Peter

Standard rules:

  • ten mines are laid in the grid on the first click
  • a number on a square indicates the number of mines in the surrounding eight squares
  • right-click on a square to "flag" a mine; right-click again to put a question mark on the square if you are not sure
  • identify all squares without clicking on a mine
  • do it as fast as you can - the clock is ticking

Here is the source code: