Question: help me this question is C++ Create an object-oriented program for a simple game of blackjack that provides for one player and a dealer (the

help me this question is C++

Create an object-oriented program for a simple game of blackjack that provides for one player and a dealer (the computer)

help me this question is C++ Create an object-oriented program for a

simple game of blackjack that provides for one player and a dealer

Rule:

52-card deck Face Cards are worth 10. Aces are 1 or 11

Each player starts with two cards. Dealer hides one card

Hit - player can ask for another card Stand player keep what they have and end their turn. Bust: If someones hand goes over 21 it is considered a bust. Player will loses regardless of the dealers hand.

Player wins if: dealer busts and player does not, the player wins. player has a higher final sum than the dealer and does not bust

Dealer wins if: player busts and dealer does not, the dealer wins. dealer has a higher final sum than the player and does not bust.

No one wins if both dealer and player have an equivalent hand It is considered a blackjack if 21 from the start (ace and face or 10, or 2 aces)

Blackjack DEALER'S SHOW CARD: 9 of Clubs YOUR CARDS: 2 of Hearts Queen of Clubs Hit or stand? (h/s): h YOUR CARDS: 2 of Hearts Queen of Clubs 7 of Clubs Hit or stand? (h/s): s DEALER'S CARDS: 9 of Clubs 7 of Spades Queen of Spades 1 19 YOUR POINTS: DEALER'S POINTS: 26 Yay! The dealer busted. You win! Play again? (y): n Come back soon! Specifications Use a Card class to define a single playing card with a suit, rank, and value. Include an insertion operator (

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!