Question: write a program in C++ that simulates a simple blackjack card game. in BJ, the object is to get card totaling 21, or to get

write a program in C++ that simulates a simple blackjack card game. in BJ, the object is to get card totaling 21, or to get closer to 21 than dealer without going over 21,

1) the player receives two cards from the dealer. 2) then the dealer gets two cards, one face up, and one face down. 3) you can keep asking for additional cards from the dealer ( a 'hit" ) until you decide to quit taking cards ( to "stand" ) once the player either goes over to total of 21 (termed a "bust" ) or decides to stand. 4) the dealer draws cards according to dealer rules ( see notes, below, for these rules.) whoever is closer to 21 (without busting) is the winner. NOTES : -(1)card values : face cards (10points), ACE (only worth 1pt, not 11 points...to comlicated with both values), numbered cards (each its worth its number) -(2)there are 52 cards in deck cards -(3) dealer rules: the dealer must "hit" on a total of 16(or under), and "stand" on a total of 17(or greater) - (4)if the player "busts", the dealer should not bother drawing (the game's over) -(5)put your game in loop, so that you can continue to play additional games without rerunning the program everytime. - (6) make the game USER-FRIENDLY (i.e. print out the cards drawn and the totals in a clear, readable manner, as the game progresses.)

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!