ColorShapeLinks AI
An AI competition for the IEEE Conference on Games 2021
|
Interface defining the events raised in a match of ColorShapeLinks. More...
Events | |
Action< IMatchConfig, IList< string > > | MatchStart |
Event raised when the match is about to start. More... | |
Action< Board > | BoardUpdate |
Event raised when the board is updated. More... | |
Action< PColor, string > | NextTurn |
Event raised when the next turn is about to start. More... | |
Action< PColor, string, string > | InvalidPlay |
Event raised when a given player performed an invalid play, for example taking too long to play, returning an invalid move or causing or throwing an exception. More... | |
Action< PColor, string, FutureMove, int > | MovePerformed |
Event raised when a given player makes a move. More... | |
Action< Winner, ICollection< Pos >, IList< string > > | MatchOver |
Event raised when the match is over. More... | |
Interface defining the events raised in a match of ColorShapeLinks.
Action<Board> BoardUpdate |
Event raised when the board is updated.
Action<PColor, string, string> InvalidPlay |
Event raised when a given player performed an invalid play, for example taking too long to play, returning an invalid move or causing or throwing an exception.
string
type parameter is the name of the player that made an invalid play.string
type parameter is the description of the invalid play. Event raised when the match is over.
ICollection<ColorShapeLinks.Common.Pos>
type parameter contains the winning solution, if any.IList<string>
type parameter contains a list of player names, with White player at index 0, and Red player at index 1. Action<IMatchConfig, IList<string> > MatchStart |
Event raised when the match is about to start.
IList<string>
type parameter contains a list of player names, with White player at index 0, and Red player at index 1. Action<PColor, string, FutureMove, int> MovePerformed |
Event raised when a given player makes a move.
string
type parameter is the name of the player that made a move.int
time parameter is the move thinking time in milliseconds. Action<PColor, string> NextTurn |
Event raised when the next turn is about to start.
string
type parameter is the name of the player that is playing in the next turn.