Minesweeper2  V1.1.1 Game in C++ by Górka Mateusz
Minesweeper2

Minesweeper game in C++.

Przeczytaj README w języku polskim!

Author

Górka Mateusz\ **maatiug@gmail.com**

Table of contets

Game

Prepare:

Use a program make to compile the code.

Running:

By command: ./Minesweeper2.exe or just click on the .exe file. ;)

Running arguments to start game in console:

arg help
-w <num> width of board
-h <num> heigh of board
-m <num> number of mines
-H turn on hints in the game

Exp.: ./Minesweeper2.exe -w 20 -h 15 -m 70

Game rule:

  • First click is always safe!
  • The game is finish when all no mine fields are uncovered.
  • The game include posibility to turn on the hints that show up after 5 seconds without action.

Dev

Documentation

To generate documentation use program doxygen. You can use comand make doxygen in main project dir. Link to generated documentation

Exception

Exception Why?
Too much attempts to rand location of mines. Rand a location of mines takes to long.
ALLOC 001 Unexpected Board::alloc()
RESOURCES [...] That kind of errors is is related to memory access and resources in exe file.

Specification

  • Language: C++
  • OS: Windows 10
  • Compilator: minGW
  • GUI: SFML Library

License

See a file LICENSE.md.

To Do List

No new long term idea.