in c++,Create a Blackjack Game. Your game must be written in multiple classes and have the following features: The ability for two players The ability to play against the dealer (computer) The ability...

in c++,Create a Blackjack Game. Your game must be written in multiple classes and have the following features:



  • The ability for two players

  • The ability to play against the dealer (computer)

  • The ability for a player to continuously hit (ask for another card) while the score of their hand is under 21

  • The dealer must hit on any land less than or equal to 17

  • The ability for a player to bet on their hand

    • Each time a player wins, their money increases by the amount they betted on the hand

    • Each time a player loses, the amount of their bet is deducted from their hand



  • The game should show the player how much money they have.

  • The game should not allow the user to bet more money than they have.

  • You decide how much money the player starts with.

  • The game must use the same deck of cards until all the cards have been dealt, then it may reshuffle.

    • Note: if the deck must reshuffle in the middle of the game, the cards already dealt must not go back in the deck. To fix this problem check the size of the deck after each round, set a limit to when you think it is a good time to reshuffle. For example, if a round has ended and there are only 3 cards left in the deck, you might as well reshuffle then, because there aren't a sufficient amount of cards for a new round. Also, think about if you had four cards. Yes, you can still deal a hand, but you will not be able to hit a players hand. I will leave it up to you to determine when it is time to reshuffle, however you cannot reshuffle if you have 10 or more cards left in the deck.



Feb 12, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here