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 |
---|---|
protected abstract GamePlayingStrategy |
GameMaster.getCardGameStrategy()
A game playing strategy for this kind of game.
|
GamePlayingStrategy |
GameBot.getStrategy()
Current strategy for picking cards
|
Modifier and Type | Method and Description |
---|---|
void |
GameBot.setStrategy(GamePlayingStrategy strategy)
Set the card picking strategy the the given one.
|
Modifier and Type | Class and Description |
---|---|
class |
HeartsGameSimpleStrategy
A simple strategy to play hearts.
|
class |
HeartsGameStrategy
A slightly better strategy to play HEARTS.
|
Modifier and Type | Method and Description |
---|---|
protected GamePlayingStrategy |
HeartsGameMaster.getCardGameStrategy()
Produce a game strategy for this game instance.
|
Modifier and Type | Class and Description |
---|---|
class |
WarGameStrategy
A game strategy for WAR.
|
Modifier and Type | Method and Description |
---|---|
protected GamePlayingStrategy |
WarGameMaster.getCardGameStrategy()
There is a single strategy available for this game -
WarGameStrategy . |