act
public Types.ACTIONS act(StateObservation stateObs,
ElapsedCpuTimer elapsedTimer)
Description copied from class: Player
Picks an action. This function is called every game step to request an
action from the player. The action returned must be contained in the
actions accessible from stateObs.getAvailableActions(), or no action
will be applied.
Single Player method.
- Specified by:
act
in class Player
- Parameters:
stateObs
- Observation of the current state.
elapsedTimer
- Timer when the action returned is due.
- Returns:
- An action for the current state