Question: In c++ please!! I have the following for my program so far. Design an Enemy class Store the enemy's name, hit points and their weaporn

In c++ please!! I have the following for my program so far.  In c++ please!! I have the following for my program so
far. Design an Enemy class Store the enemy's name, hit points and
their weaporn strength. . Create a constructor that takes in the total
hit points and weapon strength Create methods o A method to return

Design an Enemy class Store the enemy's name, hit points and their weaporn strength. . Create a constructor that takes in the total hit points and weapon strength Create methods o A method to return Hit Points o A method to return Weapon Strength. o A method to add or remove Hit Points. o An Attack method. Use the random function to create a dice roll. See attached code Return the roll number Design an Hero class Store the hero's name hit points and their weapon strength Create a constructor that takes in the total hit points and weapon strength . Create methods o A method to return Hit Points o A method to return Weapon Strength. o A method to add or remove Hit Points. o An Attack method. Use the random function to create a dice roll. See attached code Return the roll number Create a Driver program. The driver program should initiate an enemy and a hero and assign them hit points and a weapon strength. The program should then call the Hero's and Enemy's attack method. Who's ever dice roll is higher is the successful attacker Deduct the winning attackers weapon strength from the others hit points . Continue this until one or the other has no more hit points. Declare a Victor and a nice eulogy

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!