Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/malciin/minesweeper

Simple minesweeper game written in C++ with SFML
https://github.com/malciin/minesweeper

cpp minesweeper minesweeper-game sfml

Last synced: 22 days ago
JSON representation

Simple minesweeper game written in C++ with SFML

Awesome Lists containing this project

README

        

# Minesweeper SFML

## Info
* Using SFML v2.4.2
* Resizable window (when user resize window, map change its size too)
* Double mouse button pressed support
* All square textures are rendered once at runtime thus performance is fair due to use sf::VertexArray (even with 500^2 tiles)
* No recursion when reveal many empty tiles (stack overflow impossible on huge maps)
* MVC
* Ini file

## Controlls
> **Space** - generate map

> **Mouse wheel** - change next generated map mine number

> **CTRL + Mouse wheel** - change next generated map mine number by 25

> **CTRL + 1** - predefinied "Easy" difficulty

> **CTRL + 2** - predefined "Medium" difficulty

> **CTRL + 3** - predefined "Hard" difficulty

Project is still incomplete. All todos can be found here.

### License: MIT License