|
Trabalho Prático - PDS2
|


Membros Públicos | |
| Game (int rows, int cols) | |
| Constructs a new Game object with the specified number of rows and columns. | |
| virtual void | readMove ()=0 |
| virtual void | makeMove ()=0 |
| virtual char | isGameFinished ()=0 |
| void | changePlayer () |
| virtual void | printBoard () |
| Prints the current state of the game board to the standard output. | |
Atributos Protegidos | |
| Board | board |
| std::pair< int, int > | move |
| char | current_player |
| Game | ( | int | rows, |
| int | cols ) |
Constructs a new Game object with the specified number of rows and columns.
| rows | The number of rows for the game board. |
| cols | The number of columns for the game board. |
|
virtual |
Prints the current state of the game board to the standard output.
Reimplementado por Lig4.
