ColorShapeLinks AI
An AI competition for the IEEE Conference on Games 2021
|
Implementation of an AI that will play randomly. More...
Public Member Functions | |
override void | Setup (string str) |
Initialize the random number generator used for this random thinker. More... | |
override FutureMove | Think (Board board, CancellationToken ct) |
This method will simply return a random valid move. More... | |
Public Member Functions inherited from AbstractThinker | |
override string | ToString () |
Returns a short string description of the AI. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractThinker | |
void | OnThinkingInfo (string info) |
Outputs thinking information. More... | |
Properties inherited from AbstractThinker | |
int | Rows [get] |
Number of board rows. More... | |
int | Cols [get] |
Number of board columns. More... | |
int | WinSequence [get] |
How many pieces in sequence to find a winner. More... | |
int | RoundsPerPlayer [get] |
Number of initial round pieces per player. More... | |
int | SquaresPerPlayer [get] |
Number of initial square round pieces per player More... | |
int | TimeLimitMillis [get] |
Time limit for the AI to play. More... | |
Events inherited from AbstractThinker | |
Action< string > | ThinkingInfo |
Event raised when thinkers produce information while thinking. More... | |
Events inherited from IThinker | |
Action< string > | ThinkingInfo |
Event raised when thinkers produce information while thinking. More... | |
Implementation of an AI that will play randomly.
|
inlinevirtual |
Initialize the random number generator used for this random thinker.
str | If the string is convertible to int , this int value is sed as a seed for the random number generator. Otherwise, a random seed value is used instead. |
Reimplemented from AbstractThinker.
|
inlinevirtual |
This method will simply return a random valid move.
board | The game board. |
ct | A cancellation token (ignored). |
Implements AbstractThinker.