public interface GamePlayingStrategy
A strategy for playing a particular game by an automated player (a bot). Declares a method that receives the bot and had access to its state, and returns a list of cards to play. These cards must be part of the player's hand (obtainable through the bot's) and adjusted by to the game's rules.
This interface is the abstract component of the Strategy design pattern.
jpleal@fc.up.pt
Modifier and Type | Method and Description |
---|---|
java.util.List<Card> |
pickCards(GameBot bot)
Play cards for bot following a certain strategy.
|