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.
|
Class and Description |
---|
AbstractGameFactory
Type of a class that produces specializations of
GameMaster for particular games given their names. |
CardCollection
A collection of cards that may represent a full deck, a player's hand or
the cards on the table, for instance.
|
CardComparator
Comparison of 2 cards based on their suits and values.
|
DefaultCardComparator
A default implementation implementation of
CardComparator
based on the ranks of suits and values as defined by the respective
enumerations. |
GameBot
An automatic card game player - a robot -
to plays all kinds of card games.
|
GameMaster
Abstract class common to all game masters.
|
GameMaster.GameStage
Enumeration representing the stages of the game.
|
GameObserver
An observer of events occurred in a game instance.
|
GamePlayingStrategy
A strategy for playing a particular game by an automated player
(a bot).
|
ObservableGame
Observer management and event propagation in a game instance.
|
Player
Common type to all players, including human players and bots.
|
Class and Description |
---|
GameBot
An automatic card game player - a robot -
to plays all kinds of card games.
|
GameMaster
Abstract class common to all game masters.
|
GamePlayingStrategy
A strategy for playing a particular game by an automated player
(a bot).
|
ObservableGame
Observer management and event propagation in a game instance.
|
Class and Description |
---|
CardCollection
A collection of cards that may represent a full deck, a player's hand or
the cards on the table, for instance.
|
CardComparator
Comparison of 2 cards based on their suits and values.
|
DefaultCardComparator
A default implementation implementation of
CardComparator
based on the ranks of suits and values as defined by the respective
enumerations. |
GameBot
An automatic card game player - a robot -
to plays all kinds of card games.
|
GameMaster
Abstract class common to all game masters.
|
GamePlayingStrategy
A strategy for playing a particular game by an automated player
(a bot).
|
ObservableGame
Observer management and event propagation in a game instance.
|
Class and Description |
---|
CardCollection
A collection of cards that may represent a full deck, a player's hand or
the cards on the table, for instance.
|
GameMaster
Abstract class common to all game masters.
|
GameObserver
An observer of events occurred in a game instance.
|
Player
Common type to all players, including human players and bots.
|