/minesweeper

Play Minesweeper with custom graphics and Swing. Right click to place flags and compete against yourself to get your best time.

Primary LanguageJava

minesweeper

A working version of Minesweeper with custom graphics. You can read the rules of Minesweeper here.

Clone the repository and run Driver.py to launch Minesweeper.

Game

  • The number of mines is set to 40 by default on an 18 x 14 game board.
  • You can see your current time in seconds counting up next to the clock icon.
  • Right click with your mouse to set "flags" where you suspect mines to be.
  • When you successfully finish the game, your winning time will be recorded in the upper right so you can race against yourself.

Should you click a tile with a mine, expect to see game over!

A fun surprise awaits when you finish the game.