From 3806bb74674f305679efdaa2889d155531bc3643 Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Mon, 26 Jan 2026 17:24:50 +0100 Subject: dir rename --- src/Game/Game.hpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/Game/Game.hpp (limited to 'src/Game/Game.hpp') 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 -- cgit v1.2.3