-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Pat and I talked about re-arranging the game structure to include five main classes:
- Hearts
- The class that contains all of the logic pertaining to playing hearts
- It is responsible for scoring hands and applying points to players
- Game
- The game class contains the basic structures that need to be present for a card game
- This includes structures for players
- Contains a series of rounds within a game
- Round
- Is represented as a series of tricks within a game
- Contains logic for determining if the round is a passing round or a holding round. (this may be moved to the hearts class later, but for now, we think it belongs here)
- Trick
- Consists of four turns, one by each player
- Contains a list of cards played in each turn
- Turn
- Tracks the player whose turn it is to move
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels