Need Help ?

Home / Expert Answers / Other / c-coding-description-of-the-problem-write-a-simple-menu-driven-program-called-game-of-guessing-cards

(Solved): C++ coding . . . Description of the problem: Write a simple menu-driven program called "Game of Gues ...



. . . Description of the problem: Write a simple menu-driven program called Game of Guessing Cards Each card has thirteen di

You screen mens should look like the following Game of Guessing Cards (Fall 2020) EREEEEEEE EEEEEEEEE 0. Help (display rules

Hints: enum class cardPattern { 1.2.3.4. Jack, Queen}//example only To generate a random number between 1 to 13: rand() % 13

Algorithm Python program source code Sample Outputs (screenshots)


C++ coding

. . . Description of the problem: Write a simple menu-driven program called "Game of Guessing Cards Each card has thirteen different patterns. The thirteen possible patterns are 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, and King This game has two cards In this game, the player can place his or her bet on any one of the several card pattern positions Available positions are Even number (prize reward is 1x) Odd number (prize reward is: 1x) Same pattern (prize rewards: 8x) Over 10 (prize rewards: 1x) 0 prize reward is. Sx) Assuming that Jack. Queen, and King are 0 For example first cards and second card - Queen then the results: . . . Rules of this game: . Initial cash for this game is specified by player - Maximum bet for each game is $500 - Minimum bet for each game is 52 Two cards are used per game a Player can place his or her betoniny one of those four card patterns for each game The winning prize is based on the specified rewards as indicated above You screen mens should look like the following Game of Guessing Cards (Fall 2020) EREEEEEEE EEEEEEEEE 0. Help (display rules for this game) Enter the total amount of money you bring in the casino for gambling 1. 2. Shuffle the cards and then place your bet here (Max. is $500, Min. is $2) 3. Check win or lose for this session only 4. Display your gambling results: • Current cash on hand • Percentage of winnings • Total number of sessions played for this game so far 9. Quit Hints: enum class cardPattern { 1.2.3.4. Jack, Queen}//example only To generate a random number between 1 to 13: rand() % 13 + 1 . Requirement: Your program must be implemented with a class called Card The class Card" should consist the following characteristics: Card() Constructor used to initialize the die. Shuffler) Used to randomly generate the face value of a die Get() Used to get the value of a card . A private member variable called cardValue with data type cardPattern. . Feel free to add any other features that you deem necessary Items to be handed in: An algorithm for this program A copy of your program C++ source code and at least one complete sample run. Algorithm Python program source code Sample Outputs (screenshots)


We have an Answer from Expert

View Expert Answer

Expert Answer


Answer to . . . Description of the problem: Write a simple menu-driven program called "Game of Guessing Cards Each card has thirte...
We have an Answer from Expert

Buy This Answer $4

Place Order