Answered step by step
Verified Expert Solution
Question
1 Approved Answer
. Design and implement an application that allows a user to play a simplistic variation of Blackjack. CISC 2 3 1 will play against the
Design and implement an application that allows a user to play a simplistic variation of Blackjack. CISC
will play against the Computer.
Notes: Value of Ace
Cards
to
get face value. Jack, Queen and King
Just confine your numbers between
and
At the beginning of the game, both CISC
and Computer are given
cards If anyone gets
right away, they win. Otherwise, they start playing. Keep a running total for both players. Each player will get a chance at a card. The value of the card is added on to the running total. Keep comparing each time. The player should get as close to
as possible without exceeding
If anyone exceeds
they bust.
If the Computer exceeds
busts
and CISC
does not, the Computer loses.
If CISC
exceeds
busts
and Computer does not, CISC
loses
If both get the same sum and exceed
no one wins. It is a tie.
CISC
can stop the game anytime. If anyone gets a higher value without busting, then that player wins. If anyone busts, the game stops.
Keep track of how many games are played, how many times CISC
wins and loses. using java please no AI
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