Question: C++ PLEASE Custom RPG Mechanics Each turn the characters will deal damage to each other A character will deal damage based on how strong they

C++ PLEASE

C++ PLEASE Custom RPG Mechanics Each turn the characters will deal damage

Custom RPG Mechanics Each turn the characters will deal damage to each other A character will deal damage based on how "strong" they are . Characters are defeated when their "health" reaches O Characters can reduce incoming damage based on how "tough" they are o damage taken attacker's strength - defender's defense . Characters attack in order of their "speed" From these mechanics, we can determine what member variables our character class will have: . Strength, to represent how hard they can hit . Health, to represent how much damage they can take . Defense, to reduce incoming damage Speed, to determine which character will attack first Using the mechanics described above, create a combat program that has the following requirements Two characters should take turns "attacking" each other until one runs out of health Once one character runs out of health the game ends Characters should be represented by a "Character" class The character class should not utilize any public member variables

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!