Add score and nb move(s) support
This commit is contained in:
parent
30f603ecd3
commit
9977050e6e
6 changed files with 46 additions and 3 deletions
|
@ -17,7 +17,8 @@ class Game
|
|||
{
|
||||
private:
|
||||
Grid m_grid;
|
||||
|
||||
int m_score;
|
||||
int m_nbMove;
|
||||
public:
|
||||
Game();
|
||||
~Game();
|
||||
|
@ -26,6 +27,9 @@ class Game
|
|||
void coutGrid();
|
||||
void popRandomNumber();
|
||||
bool isOver();
|
||||
|
||||
int getScore();
|
||||
int getNbMove();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue