COsGameType

The COsGameType class includes information about the type of game.

Members

Variables
CBoardType btBoard type (size and shape)
bool fAntitrue if the game is anti (player with the most discs loses).
bool fKomitrue if the game is komi (players estimate winning margin).
bool fRandtrue if the game is rand (random initial board setup).
bool fSynchtrue if the game is synch (players play 2 games starting from the same initial board configuration but with opposite colors).
int nRandDiscsnumber of preplaced discs for rand games.
bool fBlacktrue if the challenger will play black.
bool fWhitetrue 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.