ColorShapeLinks AI
An AI competition for the IEEE Conference on Games 2021
GameOptions Class Reference

Command line game options, available to both the "match" and "session" verb commands. More...

+ Inheritance diagram for GameOptions:
+ Collaboration diagram for GameOptions:

Public Member Functions

 GameOptions (int rows, int cols, int winSequence, int roundPiecesPerPlayer, int squarePiecesPerPlayer, int timeLimitMillis, int minMoveTimeMillis, IEnumerable< string > thinkerListeners, IEnumerable< string > matchListeners, IEnumerable< string > assemblies, bool debugMode)
 Create a new instance of game options. More...
 

Properties

int Rows [get]
 Number of board rows. More...
 
int Cols [get]
 Number of board columns. More...
 
int WinSequence [get]
 Number of pieces in sequence for winning the game. More...
 
int RoundPiecesPerPlayer [get]
 Number of initial round pieces per player. More...
 
int SquarePiecesPerPlayer [get]
 Number of initial square pieces per player. More...
 
int TimeLimitMillis [get]
 Time limit for thinking in milliseconds. More...
 
float TimeLimitSeconds [get]
 Time limit for thinking in seconds. More...
 
int MinMoveTimeMillis [get]
 Minimum apparent move time in milliseconds. More...
 
float MinMoveTimeSeconds [get]
 Minimum apparent move time in seconds. More...
 
virtual IEnumerable< string > ThinkerListeners [get]
 Thinker listeners. More...
 
virtual IEnumerable< string > MatchListeners [get]
 Match listeners. More...
 
abstract IEnumerable< IThinkerPrototypeThinkerPrototypes [get]
 A sequence of thinker prototypes. More...
 

Detailed Description

Command line game options, available to both the "match" and "session" verb commands.

Constructor & Destructor Documentation

◆ GameOptions()

GameOptions ( int  rows,
int  cols,
int  winSequence,
int  roundPiecesPerPlayer,
int  squarePiecesPerPlayer,
int  timeLimitMillis,
int  minMoveTimeMillis,
IEnumerable< string >  thinkerListeners,
IEnumerable< string >  matchListeners,
IEnumerable< string >  assemblies,
bool  debugMode 
)
inline

Create a new instance of game options.

Parameters
rowsNumber of board rows.
colsNumber of board columns.
winSequenceNumber of pieces in sequence for winning the game.
roundPiecesPerPlayerNumber of initial round pieces per player.
squarePiecesPerPlayerNumber of initial square pieces per player.
timeLimitMillisTime limit for thinking in milliseconds.
minMoveTimeMillisMinimum apparent move time in milliseconds.
thinkerListenersThinker listeners.
matchListenersMatch listeners.
assembliesThird-party assemblies.
debugModeShow debug information (exception stack traces)?

Property Documentation

◆ Cols

int Cols
get

Number of board columns.

◆ MatchListeners

virtual IEnumerable<string> MatchListeners
get

Match listeners.

◆ MinMoveTimeMillis

int MinMoveTimeMillis
get

Minimum apparent move time in milliseconds.

◆ MinMoveTimeSeconds

float MinMoveTimeSeconds
get

Minimum apparent move time in seconds.

This value is derived from MinMoveTimeMillis.

◆ RoundPiecesPerPlayer

int RoundPiecesPerPlayer
get

Number of initial round pieces per player.

◆ Rows

int Rows
get

Number of board rows.

◆ SquarePiecesPerPlayer

int SquarePiecesPerPlayer
get

Number of initial square pieces per player.

◆ ThinkerListeners

virtual IEnumerable<string> ThinkerListeners
get

Thinker listeners.

◆ ThinkerPrototypes

abstract IEnumerable<IThinkerPrototype> ThinkerPrototypes
get

A sequence of thinker prototypes.

◆ TimeLimitMillis

int TimeLimitMillis
get

Time limit for thinking in milliseconds.

◆ TimeLimitSeconds

float TimeLimitSeconds
get

Time limit for thinking in seconds.

This value is derived from TimeLimitMillis.

◆ WinSequence

int WinSequence
get

Number of pieces in sequence for winning the game.


The documentation for this class was generated from the following file: