Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, Please provide me with some assistance with Programming C#. Below is all the details for this one task. I need assistance to apply apply

Hello,

Please provide me with some assistance with Programming C#.

Below is all the details for this one task.

I need assistance to apply apply the basics of object-oriented programming, including how to define a class and the attributes and methods within the class.

Steps

The first thing you need to do is describe the game that you want to build. There are some constraints, but you have some freedom too. The constraints are:

a) Your game must allow the user to move the character around the screen (so you must have a player game object that moves about the screen based upon the user's control).

b) Your game must allow the user to pick from a set of weapons. So the user can choose which weapon to use at any given time.

c) Your game must allow the user to use their weapon. You must have at least 3 weapon types in your game. These weapons will behave differently (so use polymorphism).

d) Your game must contain at least three types of enemies. The enemies will behave differently as well.

2. Next, you need to define the classes of your game. Think of all of the elements that must exist in the game, and define a class for each. You should do this using a UML class diagram and can do this on paper (and scan it into a picture file) or in electronic form via a document editor.

a) Define the classes, each with a name, any attributes, and any methods needed

b) Define the relationships between the classes (composition and generalization/inheritance)

Third, code up the classes in C# and make the game objects in Unity

Finally, your game should be playable. At the very least, your program should

a) Display the player's game object on the screen

b) Allow the user to select which weapon is currently active

c) Display at least one of each kind of enemy on the screen.

Deliverable

deliverables for this assignment.

The description and object-oriented design you created discussing the classes and elements of your game

Your code files (from your program's solution) that define your set of classes and make use of them.

Thanks-

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

Database Processing

Authors: David J. Auer David M. Kroenke

13th Edition

B01366W6DS, 978-0133058352

More Books

Students also viewed these Databases questions