C# clone of the classic Minesweeper
Last updated: 04/09/2022 - 11:50 (KST)
There are 2 ways to run the game:
- Build & run with Microsoft Visual Studio 2019 using .NET Framework 4.7.2 (no additional dependencies required)
- Run the execution file directly which is located at Resources/Minesweeper.exe
- User can click the emoticon button on the middle top to refresh game and see the game status (in game - neutral emoticon, game over - sad emoticon, game win - smile emoticon)
- Generate new game with 3 levels (select using the combo box at bottom left):
- 9x9 field with 10 mines (Easy) - default mode
- 16x16 fields with 40 mines (Medium)
- 16x30 fields with 99 mines (Hard)
- Support 2 modes (select using the combo box at bottom right):
- Normal mode: click to uncover cell (if the cell is flagged before, it will show "?" icon first)
- Flagged mode: click to mark/unmark flag on cell
- Handle event when click on one cell (normal mode):
- Display mine if the clicked cell is a mined cell and every cell will automatically be uncovered
- Display a positive number which indicates the number of mines diagonally and/or adjacent to it
- Display a blank cell and all adjacent non-mined cells will automatically be uncovered
- Ensure the first clicked cell will never be a mined cell
- Finish game:
- Game over: when the mined cell is clicked, all cells will be uncovered, the clicked mined cell will show a red mine, whereas each of other mined cells will show a black mine
- Game win: when every unmined cell is uncovered, each mined cell will show a red flag
- Add mined cell icon & program icon
- Display timer on hh:mm:ss format
- Find & fix potential bugs
- Imrove performance
- Improve GUI (?)
- Add high score table
- Mine icon was downloaded from pngwing
- Red flag icon was downloaded from clipartmax
- Blurring-related classes (Util.cs) is based on ua.Skywalker solution (not used yet in the current version)
- Emoticon logos were downloaded from flaticon (included the license)