- The project's code can be found inside the minesweeper folder.
- Round Stats are stored inside the recentgames folder.
- Game Scenarios created by the player are stored inside the medialab folder.
- Inside the mines folder a
mines.txtis created everytime a new game is started and contains the row and column where each mine is located, as well as a third value that signals whether the mine is a super-mine or not. When a new game is started or the player exits the application themines.txtfile is deleted.
The game follows the same rules as the classic Minesweeper game with a few additions:
- The player first needs to Load a game either from the pre-existing ones in the
Loadmenu or create a new game scenario from theCreatemenu. When the game scenario is loaded pressStartto begin the game. - The player can create their own gamplay scenarios which are then saved locally and can be loaded again and again without recreating them.
Round statsare saved at the end of each game and can be viewed at a later time.- When the difficulty is set to
2asuper-mineis also initialized. If the player marks the square corresponding to the super-mine within the first 4 attempts (left-clicks) then automatically all the squares that are in the same row and column as the super-mine (31 total squares) are revealed. - When the countdown reaches zero the game is over and the player looses.
- From the
Solutionmenu the current game's solution can be found, but the game will end and be marked as a loss for the player.
| Difficulty Levels | Grid Size | Number of Mines | Timer (seconds) | Super-Mine |
|---|---|---|---|---|
| 1 | 9x9 | 9-11 | 120-180 | Not Allowed |
| 2 | 16x16 | 35-45 | 240-360 | Allowed |

