Skip to content

Fe-Bell/OpenMinesweeper

Repository files navigation

OpenMinesweeper

This is an open source minesweeper game developed as a simple use case for WPF and MVVM. The game binaries can both be found at the releases page and Itch.io.

Currently, this application is divided in the following projects:

  • OpenMinesweeper.Core

    Contains some core game logic, such as creating the cells/mines for the player. This was created using .NET Standard 2.0. This project is cross-platform.

    For data persistency, the core uses ReflectXMLDB, an XML-based database library written by the same author of this project.

  • OpenMinesweeper.NET

    Produces a WPF GUI application written with .NET Core 3.1. This makes use of the excellent MVVMLight, a cross-platform MVVM toolkit. This project is Windows-only.

Build requirements

For players only

If you are only looking to play the game, make sure to have the runtime of .NET Core 3.1 (or higher) installed on your machine.

How to play

  1. Select "Game" in the menu strip, then "New". Select the size of the game grid and click "Play".
  2. Click the cells inside the window. Once a cell is clicked, it will reveal the number of adjacent cells that contain mines.
  3. Avoid all mines to win the game.

License

Licensed under the MIT License.