C++ Program Help, need dier help!!
Create a class hierarchy for game actors Use the Stack(template) along with the Command Pattern to create an undoableaction Simulate a battle between two Actors with the ability toundo moves
Program Overview:
This program will consist of several Actors (Knight, Ghost, andWarrior) that are capable of performing attacks and healing. Youwill run a simulation of a battle between these actors with arunning “history” of moves. The simulation will first prompt you toselect a player and an opponent. Once the two are set, and a battlehas begun, There will be 3 options available: 1) Player attacksOpponent 2) Opponent
OR
OR