#include <UltimateTicTacToe.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.
|
◆ UltimateTicTacToeBoard()
| UltimateTicTacToeBoard::UltimateTicTacToeBoard |
( |
| ) |
|
|
inline |
◆ game_is_over()
| bool UltimateTicTacToeBoard::game_is_over |
( |
Player< char > * | | ) |
|
|
inlineoverridevirtual |
◆ is_draw()
| bool UltimateTicTacToeBoard::is_draw |
( |
Player< char > * | | ) |
|
|
inlineoverridevirtual |
◆ is_lose()
| bool UltimateTicTacToeBoard::is_lose |
( |
Player< char > * | | ) |
|
|
inlineoverridevirtual |
◆ is_win()
| bool UltimateTicTacToeBoard::is_win |
( |
Player< char > * | | ) |
|
|
inlineoverridevirtual |
◆ update_board()
| bool UltimateTicTacToeBoard::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: