Question: I wanna make this fun casino game using programming c++. Any help? If you could explain a bit I'd really appreciate it. First input line

 I wanna make this fun casino game using programming c++. Any

I wanna make this fun casino game using programming c++. Any help? If you could explain a bit I'd really appreciate it. First input line should be single integer n, which represents number of rounds. There are n lines per rounds. For each round you are given 10 cards. The first five for Player 1 and next 5 for player 2, for example 9A 8S 6C QH etc. The values of the cards in order are 2 3 4 5 6 7 8 9 T J Q K A, with the suits being 5 C H D. If player 1 wins, say PLAYER 1 If player 2 wins, say PLAYER 2. TIE if none wins. 1. STRAIGHT FLUSH is when you get a full set of consecutive cards with all being the same suit 2. FOUR OFAKIND is when a set of 4 cards have the same value 3. FULL HOUSE is when there are three cards of one value and two of another 4. TWO PAIRS is a set of two different pairs 5. HIGHEST CARD is simply whoever has the highest card wins the round; if not, then the next highest

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!