Question
Our game of blackjack is a simple card game simulation where you play against the computer. The goal is to beat the computer by getting
Our game of blackjack is a simple card game simulation where you play against the computer. The goal is to beat the computer by getting closer to 21 without going over.
NOTE: You may only write this program in java using conditional statements and loops.
Points: 1 10 - worth the value Face cards - are worth 10 points Aces If dealt to the player, the player can choose whether its worth 1 or 11 points. If dealt to the computer, its automatically worth 11 points. Play: The player starts the game with $50. Play begins with the player placing a bet. The computer deals 2 cards to the player and 2 to itself. The player sees his own card values, but can only see one of the computers card values. After the deal, the player can choose to receive more cards (one at a time) in order to get closer to 21. When the player doesnt want any more cards, its the computers turn. The computer must take more cards until it has at least 17 points. The computer cannot take any cards if it has 17 or more points. Scoring: If the players score is closer to 21 (without going over) than the computers, the player wins whatever he bet. If the computer is closer to 21 (without going over), if the player goes over (regardless of whether the computer does or not) or if there is a tie, the computer wins (and the player loses his bet).
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