Question: 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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!