#include <TicTacToeBoard.h>
Public Member Functions | |
CTicTacToeBoard () | |
CTicTacToeBoard. | |
~CTicTacToeBoard () | |
~CTicTacToeBoard | |
void | NewGame () |
NewGame. | |
void | PlayMove (const CTicTacToeMove *m) |
PlayMove. | |
bool | CheckMove (const CTicTacToeMove *m) const |
CheckMove. | |
CTicTacToePiece::TYPE | GetPieceType (uint32 x, uint32 y) const |
GetPieceType. |
Description: Represents an Othello game board.
Limitations:
|
CTicTacToeBoard. Description: Class constructor Limitations: NONE |
|
~CTicTacToeBoard Description: Class deconstructor Limitations: NONE |
|
CheckMove. Description: Checks a move and returns true if it is valid.
|
|
GetPieceType. Description: Returns the type of the piece at the given location.
|
|
NewGame. Description: Resets the board to the beginning state.
|
|
PlayMove. Description: Updates the board based on a given move.
|