ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 2 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 08 May 2017 My Price 9.00

Role Playing Game

Need help with this Java Assignment, please help!

 

Programming Assignment #4

 

 

Role Playing Game

 

You are part of a team working on a new role playing game. Your part is to design and create the classes for the hierarchy of game objects (such as trees, walls, zombies, aliens, and good guys. You are to draw a complete class diagram that shows the entire hierarchy of your classes. For each class, come up with suitable methods based on the type of object. You also are to create a program called Assignment4 that tests the objects in a new role playing game.

 

You are to design a class to represent each type of game object. All objects should have fields for the following data: namelocation The stationary objects (rooms, trees and walls) are game objects and should have additional fields for the following data: damagePoints  The collectable objects (coins, weapons, and health potions) are game objects and should have additional fields for the following data: valuetype (an enum with choices such COINS, HEALTH_POTION, AXE, SWORD, MACE, MAGIC_WAND, BOMB) The moveable objects are game objects and should have additional fields for the following data: health   directionspeed The bad guy objects (zombies and aliens) are moveable objects and should have additional fields for the following data: meanFactordefeatPoints The good guy objects (warriers, wizards, and hobbits) are moveable objects and should have additional fields for the following data: strengthintelligencebackPack (ArrayList of collectable objects) The main program (aka test program) should build an ArrayList of stationary objects and an ArrayList of moveable objects. It should build an ArrayList of collectable objects for each good guy’s backpack. The main program should go through all objects in each ArrayList and call their common methods (e.g., display(), move(), fight(), etc.).

 

 

 

 

What to turn in

UML Class Diagram

Source code of all classes created.

Screen shot of program running.

 

Programming Assignment #4Role Playing GameYou are part of a team working on a new role playing game. Your part is to design and create theclasses for the hierarchy of game objects (such as trees, walls, zombies, aliens, and goodguys.You are to draw a complete class diagram that shows the entire hierarchy of yourclasses. For each class, come up with suitable methods based on the type of object. Youalso are to create a program called Assignment4 that tests the objects in a new role playinggame.You are to design a class to represent each type of game object. All objects should have fields forthe following data:ï‚·nameï‚·locationThe stationary objects (rooms, trees and walls) are game objects and should have additional fieldsfor the following data:ï‚·damagePointsThe collectable objects (coins, weapons, and health potions) are game objects and should haveadditional fields for the following data:ï‚·valueï‚·type (an enum with choices such COINS, HEALTH_POTION, AXE, SWORD, MACE,MAGIC_WAND, BOMB)The moveable objects are game objects and should have additional fields for the following data:ï‚·healthï‚·directionï‚·speedThe bad guy objects (zombies and aliens) are moveable objects and should have additional fieldsfor the following data:ï‚·meanFactor

Attachments:

Answers

(11)
Status NEW Posted 08 May 2017 12:05 AM My Price 9.00

-----------

Attachments

file 1494202977-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)