diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-02-08 19:50:21 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-02-08 19:50:21 +0100 |
| commit | 923bbed6f93665aa631a81fafbc2e0614a620db9 (patch) | |
| tree | 2223a4aca2503ea030a8f6ba951b7828582ec495 /src/Game.hpp | |
| parent | ad9b6389be40ef7281850c80879f4bb27fd9d059 (diff) | |
| parent | 80553898f80858e6e66613c889ed9f19327a1cf6 (diff) | |
Merge branch 'main' of ssh://100.95.135.112/srv/git/minesweeper
This merge is necessary because the repository has been moved to other
site and in the computer it has been not synced with the new server yet.
Diffstat (limited to 'src/Game.hpp')
| -rw-r--r-- | src/Game.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Game.hpp b/src/Game.hpp index 61a788e..599259f 100644 --- a/src/Game.hpp +++ b/src/Game.hpp @@ -10,6 +10,8 @@ private: bool bombMap[MAX_H][MAX_W]; int tileMap[MAX_H][MAX_W]; + bool revealedMap[MAX_H][MAX_W]; + bool flagMap[MAX_H][MAX_W]; int mines; @@ -19,7 +21,9 @@ public: int editDiff(); void initDiff(int diff); void initBoard(); + void updateBoard(); void displayBoard(); + int bombCheck(int x, int y); void input(); }; |
