Use knowledge from Stacks and Queues to design the Object andmethods.
Scenario: You are playing C++ Warriors and Friar Fighting theDragon.
In this game, you can gain points by outthinking your enemy.With the HP you buy armor, swords, crossbow and pens. Given thefollowing game play by two team players create a list that holdsthe combined points. Use the concepts of Data Structures to developthe classes and their associated member functions.
Good Players: Warrior(s), Friar, and your choice.
Enemy Player : Misunderstood Dragon.
Game play: Blue is HP earned: Red is Items bought.
Warrior 100 HP (Blue)
Friar 300 HP (Blue)
Warrior 2000 HP (Blue)
Friar 300 for Pen (Red)
Warrior 100 Shield (Red)
Friar 300 Robe, 100 hat, 100 scribe, 50 food (Red)
Warrior 50 HP (Blue)
Warrior magic potion 375 (Red)
Expert Answer
Answer to Use knowledge from Stacks and Queues to design the Object and methods. Scenario: You are playing C++ Warriors and Friar …