Black Jack
For this project you will be simulating the game of Blackjack. Our program will not be exactly like the casino game of blackjack but it should be fairly close. You can use your own Deal card Method from the previous homework if you want.
Program Specifications – The program will simulate a game of blackjack where there is one player and one dealer.
Deal Button will deal two cards to the dealer. One face up and one face down. Also deals two cards to the player. One face up and one face down.
Player Face Down Card- If the player clicks on the face down card it will show the card.
Hit Button After the deal if the player wants a card they can click on the hit button. The player can take up to three hits. Each hit should result in another card being dealt to the player. If the player goes over 21 with any hit your program should signal that the game is over and the dealer has won.
Stay Button Once the player has taken as many hits as they want they should click on the stay button. The stay button will trigger the dealer hits. The dealer hits will be automatic since the dealer has to hit on 16 or below but must stay on 17 or above. The stay button will also contain the code to determine who won the game. The dealer wins in the event of a tie.
Ace Issue – You must write code to allow the user to count an Ace as a 1 or as an 11.
You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.
Latest completed orders:
# | Title | Academic Level | Subject Area | # of Pages | Paper Urgency |
---|---|---|---|---|---|