A Java implementation of the classic Minesweeper game. This game features the original GUI grid with countdown timer, randomly generated bombs/flags, and a menu option for new games, saved games and highscores.
Notes for running the Minesweeper game,
-
Add the sqlite-jdbc-3.30.1.jar file into the properties of the project if not already there.
-
Before starting, terminate any other Java application that is running on the IDE.
-
First start up the server by executing MineSweeperServer.java, then run the game in MineSweeperStarter.java.
-
To change the difficulty of the game, adjust the
BOMB_PROBABILITY
variable in Settings.java down (Easy) or up (Hard). (Remember to terminate after saving the changes and rerunning the server and game.)