-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, the whole game logic is handled by the Table class (which is in the proj2.ui subpackage). We should extract all of the game logic into a separate Game class and register Table as a "listener" to all of the changes that might occur that can cause an update in the UI, like for example:
- When a player wins
- When the player's turn is over
- When a player lays cards on the table
- When a player discards a card
- When a player draws from the Deck
- When a player draws from the Stack
- When a player is selecting cards from his/her hand
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request