summaryrefslogtreecommitdiff
path: root/src/game/Game.hpp
diff options
context:
space:
mode:
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..7518a84
--- /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:
+ void editDiff();
+ void initDiff(int diff);
+ void initBoard();
+ void displayBoard();
+};
+
+#endif