Question
Case study - Show class interactions. in UML A card game is played with a deck of cards which must be shuffled into a random
Case study - Show class interactions. in UML
A card game is played with a deck of cards which must be shuffled into a random order.
There are four players, and each time a game is played, each player is dealt 10 cards. Any cards not dealt are put into the 'kitty' - which is a small pile of cards which can be picked up by the player who starts each round of the game.
A number of rounds are played until the cumulative score for all games reaches 500.
This is, of course, a simplified description of the card game Five Hundred'.
You do not need to consider the rules of the game, you are being asked to design ONLY the main objects in the game, and the relationships between those objects A class diagram of the main classes, methods and properties which will be needed to create the game.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started