summaryrefslogtreecommitdiff
path: root/src/game/Game.hpp
diff options
context:
space:
mode:
authordawidg81 <dawidgorski.m@gmail.com>2026-01-26 15:56:19 +0100
committerdawidg81 <dawidgorski.m@gmail.com>2026-01-26 15:56:19 +0100
commitde7a90ba31e614f50062e0da695581f888353203 (patch)
tree847dfe41bfe1f6520d575ae9db8d25431c43c6b6 /src/game/Game.hpp
parentf5d734e3420e216816a4ac5ef50d022bb4b4ab85 (diff)
changed Game header name
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