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

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!