Question
C++ OOP Blackjack Card Class Create (in its own .h/.ccp files) a card class with the following attributes & actions Attributes suit (diamonds, clubs, hearts,
C++ OOP Blackjack
Card Class
Create (in its own .h/.ccp files) a card class with the following attributes & actions
Attributes
suit (diamonds, clubs, hearts, spades)
value (A-K)
weight (i.e. is the card an Ace worth 1)
is_used (is the card already out of play)
Player Class
Create (in its own .h/.ccp files) a player class that has
Attributes
An Array containing the cards the player has.
The Name of the player
If the player is hitting or staying
Behavior
Game starts, a name is selected for the player.
UI
2 players and 52 cards are created.
Game asked for the name of the non-dealer.
Main will issue 2 cards to a dealer, and 2 cards to the player who
Blackjack is then played
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started