Class | Description |
---|---|
Card |
The
Card class contains all the information a card can contain,
statistics on cards type, number and max number and a list of already
instantiated cards to check card uniqueness
because there can't be multiple card with same suit and rank
In this game there are only 78 cards :
- 56 Classic cards
- 21 Trump cards
- 1 Excuse card |
Card.CardComparator |
The
CardComparator class compares two cards
following their Rank and Suit |
CardGroup |
The
CardGroup class consists in a group of cards. |
CardUpdate |
This class is a container which is passed when calling notifyObservers() method.
|
GameModel |
The
ConsoleGameModel class consists in the MVP architecture model
It handles Tarot dealer choosing,
dealing, bids and ecart constitution |
Hand |
The
Hand class extends CardGroup ,
it consists in a group of cards representing a player |
PlayerHandler |
The
PlayerHandler class handles players creation
and their temporary status (dealer, shuffler, cutter, currentPlayer) |
Talon |
The
Talon class extends CardGroup ,
it consists in a group of cards representing the chien
and afterward the taker's ecart |
Enum | Description |
---|---|
Bids |
The
Bids enumeration defines
all bids that are possible |
CardUpdateType |
The
CardUpdateType enumeration defines actions
that are done on cards. |
GameState |
The
GameState enumeration
defines all steps that can occur |
NotificationType |
The
NotificationType enumeration defines type
of notification that are sent through notifyObserver. |
PlayerHandler.PlayersCardinalPoint | |
Rank |
The
Rank enumeration defines all ranks
that can be assigned to a card |
Suit |
The
Suit enumeration defines all suits that can be assigned to a card |