Design a program written in JAVA to simulate the game BlackJack Rules: Use 52-ca
ID: 3602062 • Letter: D
Question
Design a program written in JAVA to simulate the game BlackJack
Rules:
Use 52-card decks.
Aces is counted as 1, 2 to 9 according to pip value, and tens and face cards count as ten points.
The value of a hand is the sum of the point values of the individual cards. Except, a "blackjack" is the highest hand, consisting of an ace and any 10-point card, and it outranks all other 21-point hands.
The dealer will give two cards to the player and two cards to himself.
Deal a card to the player until the player says "no"
Deal a card to dealer as long as the total points is less than 17
If the dealer goes over 21 points, then any player who didn't already bust will win.
If the dealer does not bust, then the higher point total between the player and dealer will win.
Repeat the game until the player doesn't want to play. Use a new deck for each round.
Explanation / Answer
The Coding for th blackjack game is done and it is given below
As there are multiple java files and which cannot be posted here because there are lots of dependencies of the code.
so what i have done is i have uploaded all the files of the code to google drive and i am giving you the link to that source code which is having all the instruction to run the code in readme.md file
below is the link for the code:
https://drive.google.com/open?id=0BzteHvG3_G-CWU9HN1BEazVZc00
Hope This Helps, if you have any doubts Please comment i will get back to you, thank you and please thumbs up
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.