strategy
public CardSet strategy(Player agent)
The user is asked whether he/she wants to play this strategy manually. If so, a GUI pops up in which the user can specify an accusation. Otherwise, the accusation is obtained by calling the strategy function of the AccusationStrategy class.
- Overrides:
strategy in class AccusationStrategy
- Parameters:
agent - The agent that plays this strategy
- Returns:
- A set of cards that represents the accusation if an accusation is done. Null if no accusation is done.