public class HeartsGameStrategy extends java.lang.Object implements GamePlayingStrategy
HeartsGameSimpleStrategy
).
jpleal@fc.up.pt
Constructor and Description |
---|
HeartsGameStrategy() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Card> |
pickCards(GameBot bot)
Try to select a the highest or lowest card from a collections of
valid cards, taking in consideration the round, the suit to follow,
and the cards already played.
|
public java.util.List<Card> pickCards(GameBot bot)
pickCards
in interface GamePlayingStrategy
bot
- playing the cards