/MinesweeperLike

MinesweeperLike is a single-player puzzle game.

Primary LanguageC#GNU General Public License v2.0GPL-2.0

MinesweeperLike

MinesweeperLike is a single-player puzzle game. The goal of the game is to uncover all the squares that do not contain mines without being "blown up" by clicking on a square with a mine underneath. The location of the mines is discovered by a process of logic. Clicking on the game board will reveal what is hidden underneath the chosen square or squares (a large number of blank squares may be revealed in one go if they are adjacent to each other). Some squares are blank but some contain numbers (1 to 8), each number being the number of mines adjacent to the uncovered square. To help avoid hitting a mine, the location of a suspected mine can be marked by flagging it with the right mouse button. The game is won once all blank squares have been uncovered without hitting a mine, any remaining mines not identified by flags being automatically flagged by the computer.

game-completed

However, in the event that a game is lost and the player mistakenly flags a safe square, that square will either appear with a red X covering the mine (denoting it as safe).

not-a-mine

Game Actions

These actions are all available from the ‘Game’ menu.

  • New Game

    Starts a new game, with a random initial state.

    • Click the Game menu, and then click New Game.

    not-a-mine


  • Restart

    Resets the current game to its initial state.

    • Click the Game menu, and then click Restart.

    not-a-mine


  • Solve

    Transforms the puzzle instantly into its solved state.

    • Click the Game menu, and then click Solve.

    not-a-mine


  • Exit

    Closes the application entirely.

    • Click the Game menu, and then click Exit.

The Board

MinesweeperLike has three standard boards to choose from, each progressively more difficult.

These boards are all available from the ‘Type’ menu. It's contain a list of preset game settings. Selecting one of these will start a new random game with the parameters specified.

Width Height Mines
9 9 10
35
16 16 40
99
30 16 130
170
  • 9x9

    Click the Type menu, and then click "9x9, 10 mines" or "9x9, 35 mines".

    not-a-mine


  • 16x16

    Click the Type menu, and then click "16x16, 40 mines" or "16x16, 99 mines".

    not-a-mine


  • 30x16

    Click the Type menu, and then click "30x16, 130 mines" or "30x16, 170 mines".

    not-a-mine

TODO

  • Custom board
  • Help menu
  • Keyboard shortcuts
  • Never lose on first click