The COsGameType class includes information about the type of game.
Variables | |
CBoardType bt | Board type (size and shape) |
bool fAnti | true if the game is anti (player with the most discs loses). |
bool fKomi | true if the game is komi (players estimate winning margin). |
bool fRand | true if the game is rand (random initial board setup). |
bool fSynch | true if the game is synch (players play 2 games starting from the same initial board configuration but with opposite colors). |
int nRandDiscs | number of preplaced discs for rand games. |
bool fBlack | true if the challenger will play black. |
bool fWhite | true if the challenger will play white. |
Creation | |
Clear() | Clear all information from the game type. |
I/O | |
In() | Reads from a stream in the GGF format, normally use the >> operator. |
Out() | Write to a stream in GGF format, normally use the << operator. |