Package | Description |
---|---|
wcg.games |
Classes common to all card games.
|
wcg.games.hearts |
The goal of the HEARTS game is to avoid receiving hearts.
|
wcg.games.war |
War is a very simple card game, mostly played by children.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Card> |
GamePlayingStrategy.pickCards(GameBot bot)
Play cards for bot following a certain strategy.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Card> |
HeartsGameSimpleStrategy.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.
|
java.util.List<Card> |
HeartsGameStrategy.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.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Card> |
WarGameStrategy.pickCards(GameBot bot) |