Minesweeper in Java with a graphical user interface.
Run PreGame.java
to start the game.
- First Click Safety: Your first click will always open a safe compartment, ensuring you don't hit a mine on your initial move.
- No Flags (Version 1.0): The initial version did not include flagging mechanics.
- Difficulty Levels: Choose from three difficulty levels—Easy, Default (Custom), and Hard.
- Bug Fix: Resolved an issue where insufficient mines were placed on the board.
- Colored Numbers: Numbers representing the count of adjacent mines are now color-coded for easier identification.
- Flagging Mechanic: Flags have been introduced, allowing you to mark suspected mine locations.
- Mine and Flag Counter: A label displays the total number of mines on the board and the number of flags you've placed.