Question: PLEASE HELP do exactly what is asked. Sample of output below You are provided with Main.java that is a client for this program. You will

PLEASE HELP
do exactly what is asked.  PLEASE HELP do exactly what is asked. Sample of output below
Sample of output below
You are provided with Main.java that is a client for this program.

You are provided with Main.java that is a client for this program. You will create THREE files -- GameCharacter.java, Shield Maiden.java, and Dragon.java First: You must Create an interface called GameCharacter WITH JUST PROTOTYPES, NO IMPLEMENTATIONS A Game Character has a few functions associated with it 1) takeHit: decreases the character's health. It should return an int representing damage taken (hit points) 2) heal: increases the character's health. Should return an int representing amount healds (i.e. hit points) 3) getHealth: returns the total current health the character has (ie, hit points) 4) is Alive: determines if the character is dead. Should return true if the character is alive, and false if It is dead. Second: Then create two classes. One should be named Dragon, and the other should be named Shield Maiden (.e. warrior) that IMPLEMENT Game Character. Give them each private variables for health. The constructor should take in an initial amount to set health to Third: Implement the interface functions for these two classes (Dragon and Shieldmaiden). To make the game more interesting, the dragon's takeHit should hurt the dragon a random number from 10 to 20 inclusive and the Shield Maiden's takeHit should hurt the shield Maiden a random number from 15 to 25 inclusive. Furthermore, the dragon's heal should only heal the dragon a random number from 1 to 10 inclusive but the Shield Maiden's heal should heal the Shield Maiden a random number from 8 to 20 inclusive. A character is dead when they get negative health. Fourth: There are unit tests that check for all of these requirements. Try your best to pass all the test cases! A sample output of this game is below (note all the writing is supied by Main Java) Jenny the Dragon and Joan of Art meet on a dusty mountaintop overlooking village * Jeans Hit Points: 100 Dragon's Hit Paints: 100 Dragon Attackst Joan takes: 23 Damaget Joan Heals 16 health restored * Jeans Hit Points: 3 Dragon's Hit Points: 100** Dragon Attackst Joan takes: 18 Damagel Joan Heals 13 health restored ** Joana Hit Paints & Dragon's Hit Points: 100** Joan Attacket Dragon takes: 16 Damagel Dragon Heals health restored ** Jeans Hit Paints: 8 Dragon's Hit Pointe: 93" Joan Attacks! Dragon takes: 15 Damage! Dragon Healal health restored Jeans Hit Points: 88 Dragon's Hit Paints: 84 Dragon Attackal Joan takes: 18 Damage! Jean Heals! 20 health restored Jeans Wit Points: 0 Dragon's Hit Points: 34" Dragon Attacks Joan takes: 20 Damage Joan Heast 14 health restored * Jeans Hit Paints: 84 Dragon's Hit Paints: 34 Joan Attacket Dragon takes 17 Damage! Dragon Heals health restored ** Joans Hit Points: 24 Dragon's Hit Points: 74 Dragon Attackel Joan takss: 18 Damagel Joan Healat 16 health restored Joan Mit Paints: 82 Dragon's Hit Points: 74 Jean Attacks! Dragon takes: 17 Damage! Dragon Heals 10 health restored Jeans Hit Paints: 82 Dragon's Hit Points Joan Attack Dragon takes: 19 Damage! Dragon Healt2 health restered ** Jeans Hit Points: 82 Dragon's Hit Points: 50 Joan Attaket Dragon takes: 14 Damage! Dragon Healst health restored ** Jeans His Paints2 Dragon's Hit Paints: 44" Dragon Attakst Joan takes 18 Damage Joan Heals 13 health restored * Jeans Hit Paintsi 77 Dragon's Hit Points: 444 Dragon Attacks Joan takes: 15 Damaget Joan Hesial 17 health restored ** Jeans Hit Paints: 79 Dragon's Hit Points: 44 Dragan Attackal Joan takes: 10 Damage! Joan Heals 13 health restored ** Jeans Hit Points: 73 Dragan's Hit Points: 44" Joan Attack Dragon takes: 11 Damage Dragon Heals! 10 health restored Joan Hit Paints: 73 Dragon's Hit Points: 43" Joan Attacket Dragon takes: 10 Damage! Dragon Healal health routered ** Joans Hit Points: 73 Dragon's Hit Points: 34" Joan Attacket Dragon takes: 13 Damagal Dragon Heals 10 health restored ** Jan Hit Paints: 72 Drag Mit Points31 Joan Attacks Dragon takes 18 Damagel Dragon Heals health restored * Jeans Hit Paints: 3 Dragon's Points: 10 ** Dragon Attackal Joan takes 18 Damaget Jean Healel 10 health restored ++ Jeans Hit Paints: 74 Dragon's Hit Points: 16 Dragon Attackal Joan taksa: 22 Damage! Joan Heals 14 health restored "Joons Ponte do Dragon's Points 16 Dragon Attackel Joan takasi 17 Damage Jean Healal 30 health restored ** Jsen Mit Point 9 Dragon Hit Point 16+ Jean Attacket Dragon takes 13 Damaget Dragon Healal health restored Joan Hit Paints & Dragon's Hit Paints: 10 Joan Altachal Dragons Demag Oregon Health restored The dust selles on the intright and Joan i landing in glory

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!