Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Suppose you have been commissioned to code a simple card game for a client. You have been given the following short description, and asked to
Suppose you have been commissioned to code a simple card game for a client. You have been given the following short description, and asked to produce a first draft of the design to act as a prototype The game has one player and a dealer. The dealer is always the computer. The dealer deals cards to the player, with the player trying to obtain a hand that fulfills a criterion such as total face value of their cards, all the same suit, all the same value etc. We want to be able to change the total, what cards are in the deck being used for the game and what the player's goal for a particular hand." Brainstorm (and write down) some possible classes, attributes, methods, associations and inheritance relationships that might arise in the design of the game system. To do this you might like to use some noun-phrase and object-think approaches. Sketch a simple diagram illustrating the classes you identified above and their inter-relationships. Suppose you have been commissioned to code a simple card game for a client. You have been given the following short description, and asked to produce a first draft of the design to act as a prototype The game has one player and a dealer. The dealer is always the computer. The dealer deals cards to the player, with the player trying to obtain a hand that fulfills a criterion such as total face value of their cards, all the same suit, all the same value etc. We want to be able to change the total, what cards are in the deck being used for the game and what the player's goal for a particular hand." Brainstorm (and write down) some possible classes, attributes, methods, associations and inheritance relationships that might arise in the design of the game system. To do this you might like to use some noun-phrase and object-think approaches. Sketch a simple diagram illustrating the classes you identified above and their inter-relationships
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