summaryrefslogtreecommitdiff
path: root/src/Game/Game.hpp
diff options
context:
space:
mode:
authordawidg81 <dawidgorski.m@gmail.com>2026-01-26 17:24:50 +0100
committerdawidg81 <dawidgorski.m@gmail.com>2026-01-26 17:24:50 +0100
commit3806bb74674f305679efdaa2889d155531bc3643 (patch)
treedcced6c118fb6ed61824bb0bcd24d1ae6aed258c /src/Game/Game.hpp
parentb492bfb0d4cafe69edf69f196911f1b0e64c43df (diff)
dir rename
Diffstat (limited to 'src/Game/Game.hpp')
-rw-r--r--src/Game/Game.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Game/Game.hpp b/src/Game/Game.hpp
new file mode 100644
index 0000000..767ab94
--- /dev/null
+++ b/src/Game/Game.hpp
@@ -0,0 +1,24 @@
+#ifndef GAME_HPP
+#define GAME_HPP
+
+class Game {
+private:
+ static constexpr int MAX_W = 32;
+ static constexpr int MAX_H = 32;
+
+ int boardWidth;
+ int boardHeight;
+
+ bool bombMap[MAX_H][MAX_W];
+ int tileMap[MAX_H][MAX_W];
+
+ int mines;
+
+public:
+ int editDiff();
+ void initDiff(int diff);
+ void initBoard();
+ void displayBoard();
+};
+
+#endif