Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ ASCII Art Video Poker - 5 Card Draw Criteria Enumerated data types Program uses enumerated data types for the ranks and suits of the

C++

ASCII Art Video Poker - 5 Card Draw

Criteria

Enumerated data types

Program uses enumerated data types for the ranks and suits of the cards.

Arrays

The program includes an array to keep track of all 52 cards. It also has an array for the dealer's hand, and one for the player's hand.

ASCII Art

Cards look like cards using ASCII art only.

Reusing cards

The same card cannot be played twice in one hand.

Score or Anti

Programs includes a scoring system. It can be a cash balance and each hand the user much put up an anti. Or you can use a simple scoring system of assigning points to winning hands.

Choosing new cards

Player had the option of exchanging 3 cards or 4 if they are holding an Ace and getting new cards.

Rules of Poker

Games follows the rules of 5 card draw poker.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Cryptography And Network Security

Authors: William Stallings

5th Edition

B00F0ZR6PC, 9780136097044

Students also viewed these Programming questions