A simple Java Swing program for the old-gold Minesweeper game. Just made for fun, don't take it seriously.
- Clone the repository
- Open terminal/ Command Prompt in the main directory
- Do
javac Minesweeper.java
to compile - Do
java Minesweeper
to execute
- Game board is initialized on start of application and not on 1st click [so don't expect your first click to be always safe]
- Size of board and number of mines cannot be changed unless hardcoded.
- Click on sweeped area with surronding mines marked does not sweep the neighbouring blocks.
Pull requests are welcomed.