summaryrefslogtreecommitdiff
path: root/src/game/globals.hpp
blob: 054dc6e21905ba7b0e794af84419385cd983d9d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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 initDiff(int diff);
    void initBoard();
    void displayBoard();
};

#endif