Construct an Artificial Intelligence that can play the game
The number of the player which the A.I will control
A ClientGame instance for the A.I to observe and take actions
The DeckList of the deck the A.I will use
The DeckList of the deck the A.I will use
A ClientGame instance for the A.I to observe and take actions
The number of the player which the A.I will control
Adds an action to be run at some point in the future depending on the A.Is timing mode
The action to be added to the sequence
If true the action will be added to the beginning of the sequence, otherwise it will go at the end.
Checks if we can take an action, if we can then takes the next one in the action sequence.
Gets the number of the player this A.I controlls
A Game Synchronization Event sent by the server
Signals to the A.I that it has gained priority and may take actions
Executes an action checking if it returns an error status code. If it does then prints out a message.
Adds a list of actions to be run to end of the sequence.
The actions to add
Tells the A.I to start taking actions, but to spread them out over time. It will also wait until the given animator has completed any animations. This is to keep the A.I from taking all its actions simultaneously when playing against a human.
Tells the A.I to start acting and to immediatly take any action it likes. This is to make the A.I faster for A.I vs A.I battles
Tells the A.I to stop taking any moves when the game is over
Triggers the A.I to plan out its next actions
Generated using TypeDoc
An Artificial Intelligence that can play the game.
This class contains logic for timing A.I actions but no implemenetaiton of gameplay logic.