Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this question, please do #2 and create a class diagram. Create a document: Create a list of 6 bad guys for the next projects

For this question, please do #2 and create a class diagram.

image text in transcribed

Create a document: Create a list of 6 bad guys for the next projects game; a primitive version of the game can be played here http://www.brackeen.com/iavagamebook/tilegame.inlp (internet connection required for this demo). From the demo you can see that a fly and a caterpillar already exist. Assume that these bad guys extend from the class BadGuy. Make sure that 1 extends from Fly (for example something like SuperFly extends Fly) and 1 extends from Caterpillar. The rest should extend from the class BadGuy, or extend from a new bad buy you created (for example SuperCockroach extends Cockroach). Be sure to describe how each of the 6 of your bad guys behaves (how does it move? Does it take more than one hit to defeat it?) NOTE: If you cannot play the above game due to security settings of your browser (very likely) that is fine. Imagine a platformer game similar to Mario (in almost every way, including jumping on their heads to defeat them), and create your bad guys based on that. 1. 2. Design a class diagram: Using the list from above, create a class diagram to represent your bad guy classes. The root class to start with is BadGuy. You may make any assumptions to what BadGuy contains in it (for example, BadGuy could have a int hits variable that specifies how many hits a bad guy can take before it is defeated)

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

T Sql Window Functions For Data Analysis And Beyond

Authors: Itzik Ben Gan

2nd Edition

0135861446, 978-0135861448

More Books

Students also viewed these Databases questions

Question

(a) What is the best model for the data provided?

Answered: 1 week ago