Minesweeper Game
Game Objective:
- The goal of the game is to reveal all cells that do not contain mines while flagging those that do.
- Each click reveals a cell. If it’s a mine, you lose. If it’s a number, it tells you how many mines are adjacent to that cell.
- Flag the cells where you think mines are located using right-click or Alt key.
- Clear all non-mine cells to win the game before running out of moves.
How to Play:
- Left-click: Reveals a cell. If the cell is empty (a zero), it will automatically reveal adjacent cells. If it’s a mine, you lose the game.
- Right-click or Alt-click: Flags a cell to mark it as a suspected mine. Right-click again to unflag it.
- Clear flagged cells: If you are confident that a flagged cell is a mine, you can clear the surrounding cells by clicking the number (if its flags match the mine count).
- Reset the Game: Press the reset button to start over. You can also press "R" on your keyboard to reset.
Game Features:
- Timer: The timer starts when you first click and tracks how long it takes to clear the board. You can pause and resume the timer based on window focus.
- Mine Detection: The game detects whether you are flagging or revealing the correct cells and provides feedback. If you click on a mine, you lose!
- High Score Tracker: Track your best times for each difficulty level (beginner, intermediate, expert) with the option to clear high scores.
- Adaptive Gameplay: As you play, the game adjusts dynamically. More mines are placed as you move to higher difficulty levels, increasing the challenge.
Tips for Success:
- Start by revealing corners and edges where mines are less likely to be grouped together.
- Use the flagging system to mark potential mines, but be careful not to over-flag.
- If you’re unsure, take your time and think through each click. You can always pause the game by switching focus.
- Use the zero-value cells wisely. They often lead to large, safe areas opening up if you click them.
- To win, all non-mine cells must be revealed, so carefully plan your moves and avoid unnecessary risks.
Can you clear the minefield and beat your high score? Good luck! 💣