Question: C + + please. Build a class called * ThreeCardHand * that is derived from class * Hand * ( Included with the starter code

C++ please.
Build a class called *ThreeCardHand* that is derived from class *Hand*(Included with the starter code for this project). Your derived class should include support for comparing two objects of this class to determine which hand "wins" according to the rules of the game.
This game is played between two or more players (just two is sufficient for this exercise). Each player is dealt three cards to make up their hand. The winner is determined according to the highest card in each player's hand. For scoring purposes, follow common ace-high card ordering (i.e. ace is highest, then king, queen, jack, then ten through two).
A template testing program is provided in *main.cpp*. This program should simulate multiple games between two players. With each game a new *Deck* object is created and shuffled. Modify the *main* function to declare two *ThreeCardHand* objects, deal three cards to each, display both (use the *str* method), and determine which wins.
**Do not modify *cards.h* or *cards.cpp*.** You should modify the *main* function in *main.cpp* to complete the test program. You may choose to implement your derived class in *main.cpp* or its own header and implementation file pair.
Example Output
Player 1: JH-9D-3S
Player 2: AC-JC-7S
Player 2 wins.
Play again? (y/n):

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!