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.
|
wcg.main |
Classes for managing the web card game service.
|
Modifier and Type | Method and Description |
---|---|
GameMaster |
GameFactory.makeGameMaster(java.lang.String name) |
GameMaster |
AbstractGameFactory.makeGameMaster(java.lang.String name)
A specialization of
GameMaster for the given game name. |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
GameBot.generateNick(GameMaster gameMaster)
Pick a name from a list of bot names, different from any of the
nicks already in game.
|
Constructor and Description |
---|
GameBot(GameMaster gameMaster)
A
GameBot instance for a particular GameMaster instance. |
Modifier and Type | Class and Description |
---|---|
class |
HeartsGameMaster
Game master for the game of HEARTS.
|
Modifier and Type | Class and Description |
---|---|
class |
WarGameMaster
A game master for the WAR card game.
|
Modifier and Type | Method and Description |
---|---|
(package private) GameMaster |
GamePool.getGameMaster(java.lang.String gameId)
The game master with given id
|