Question: Java Enum Types Blackjack Game Write a java program that plays Blackjack: you against the computer. Deal two cards to the player and dealer alternating,
Java
Enum Types
Blackjack Game
Write a java program that plays Blackjack: you against the computer.
Deal two cards to the player and dealer alternating, the player then the dealer and the player and then the dealer. not bets needed
Ask if the player wants another card until they say no or go over 21. The game is over if the player goes over 21.
If the player does not go over, deal cards to the dealers hand until it exceeds 16. If the dealer goes over 21, the dealer loses.
Determine the winner or if there is a tie.
Allow the player to play again, keeping track of the number of wins and losses.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
