Question: . 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. CISC231 will play against the Computer.
Notes: Value of Ace =1, Cards 2 to 10, get face value. Jack, Queen and King =10.(Just confine your numbers between 1 and 10).
At the beginning of the game, both CISC231 and Computer are given 2 cards. If anyone gets 21 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 21 as possible without exceeding 21. If anyone exceeds 21, they bust.
If the Computer exceeds 21(busts) and CISC231 does not, the Computer loses.
If CISC231 exceeds 21(busts) and Computer does not, CISC231 loses.
If both get the same sum and exceed 21, no one wins. It is a tie.
CISC231 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 CISC231 wins and loses. using java please no AI

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!