Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago