About
Sapper is a logic puzzle video game genre generally played on personal computers. The game features a grid of clickable squares(+), with hidden bombs scattered throughout the board.
The objective is to clear the board without detonating any bombs, with help from clues about the number of neighboring mines in each field.
Abilities
Game has points and lifes
- Points - you get the points after marking cell with bombs(key F)
- Lifes - after getting the points aliquot by 8, your got +1 life. Your have unlimited marks for marking a cell, that in your opinion contain a bomb.
Game field
In my implementations your game field work on chunks. Where every chunk contain the 10 bombs. It is make possible generate huge field with a lot of chunks:
class GameModel : public stf::smv::BaseModel
{
public:
/* Now field is present the square 5x5 chunks */
static constexpr int Width = 5; // } \
// Change this value with your, if you need more chunks
static constexpr int Height = Width;// } /
}
Information console
Also you have information console, with info about loaded junks, used memory, cursor position, etc. To enable, disable this press '~'.
Controls
- WASD - cursor movement
- ~ - informations console
- F - mark a cell
- SPACE - press on cell
Copyright (C) 2022 Viktor Nekrutenko