diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-02-01 21:51:16 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-02-01 21:51:16 +0100 |
| commit | 2b649745227a4dde5f2d3256a0b5f8fc9927e3d8 (patch) | |
| tree | 5363c06a0d152b6a4b308e78ed24e9a5047f88f2 /src/Game.hpp | |
| parent | 8d5ad6ddb271bb0b6d94d3a632035f8681b7163f (diff) | |
| parent | e6a7c80d3261e8b0c3e73294c0dace4d36158c5d (diff) | |
Merging Utils removal
Diffstat (limited to 'src/Game.hpp')
| -rw-r--r-- | src/Game.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Game.hpp b/src/Game.hpp new file mode 100644 index 0000000..767ab94 --- /dev/null +++ b/src/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 |
