public class HeartsGameSimpleStrategy extends java.lang.Object implements GamePlayingStrategy
jpleal@fc.up.pt
Constructor and Description |
---|
HeartsGameSimpleStrategy() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Card> |
pickCards(GameBot bot)
Select a collection of cards in hand that:
follow suit (if necessary and possible); don't include hearts,
in the first two rounds.
|
public java.util.List<Card> pickCards(GameBot bot)
pickCards
in interface GamePlayingStrategy
bot
- playing the cards