From de7a90ba31e614f50062e0da695581f888353203 Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Mon, 26 Jan 2026 15:56:19 +0100 Subject: changed Game header name --- 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..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 -- cgit v1.2.3