Question: use java language For this project you will create a hierarchy of game characters. This project is intended to be open ended - you must

use java language
use java language For this project you will create a hierarchy of

For this project you will create a hierarchy of game characters. This project is intended to be open ended - you must meet the requirements below, but feel free to include any additional features you like. 1. Create two packages in eclipse: project3 and project3.characters. (Yes, that says project3. We will be using these classes in Project 3). 2. Create a character class hierarchy. You should have at least 1 abstract class and at least 3 types of characters (4 classes total). Each character should implement the following: o public int attacko returns the strength of an attack o public void hit(int points) reduces the character s health based on the strength of an attack public boolean is Alive() returns a Boolean based on whether or not the character's health is greater than 0. o The name, strength, and health of each character. 3. Write a toString0 method for your character classes that displays the name, class, strength. & health of the character 4. Create a driver class that simulates a battle between two characters. Your logic for battle does not need to be complex 5. Submit pdf file that answers the following questions and your source code separately to Canvas Think carefully about your design and use good object-oriented principles in your implementation. Briefly describe your implementation: Output of your code

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!