#include <SUSBoard.h>
|
| int | rows |
| | Number of rows.
|
| int | columns |
| | Number of columns.
|
| vector< vector< char > > | board |
| | 2D vector for the board
|
| int | n_moves |
| | Number of moves made.
|
◆ SUSBoard()
◆ count_xux()
| int SUSBoard::count_xux |
( |
| ) |
|
|
inline |
◆ full()
◆ game_is_over()
| bool SUSBoard::game_is_over |
( |
Player< char > * | | ) |
|
|
inlineoverridevirtual |
◆ get_board_matrix()
| vector< vector< char > > SUSBoard::get_board_matrix |
( |
| ) |
const |
|
inline |
◆ is_draw()
| bool SUSBoard::is_draw |
( |
Player< char > * | | ) |
|
|
inlineoverridevirtual |
◆ is_lose()
| bool SUSBoard::is_lose |
( |
Player< char > * | | ) |
|
|
inlineoverridevirtual |
◆ is_win()
| bool SUSBoard::is_win |
( |
Player< char > * | | ) |
|
|
inlineoverridevirtual |
◆ update_board()
| bool SUSBoard::update_board |
( |
Move< char > * | move | ) |
|
|
inlineoverridevirtual |
Update the board with a new move.
- Parameters
-
| move | The move object containing position and symbol. |
- Returns
- true if the move is valid and applied, false otherwise.
Implements Board< char >.
The documentation for this class was generated from the following file: