subject
Computers and Technology, 06.05.2020 02:25 nooope

Write a game of Blackjack that functions as follows: Start by dealing two cards at random to the player. Store these cards and the associated values in separate lists. You should remove the two cards from the deck once they have been dealt to the player so they cannot be dealt a second time. Report the player's hand as well as the value of their hand. Next, as the player if they want to "hit" or "stand". "Hitting" means that the player wants another card. "Standing" means that the player is happy with their hand and doesn't want any more cards. If the player chooses to "hit" you should deal them another card (and remove it from the main deck). If their hand is worth 21 points they win the game. If their hand is over 21 points they lose the game (they went "bust"). If they have less than 21 points the process should be repeated (they should be re-prompted to see if they want to "hit" or "stand")

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:40
Match the personality traits with their description
Answers: 2
question
Computers and Technology, 22.06.2019 18:30
Which of these options are the correct sequence of actions for content to be copied and pasted? select content, click the copy button, click the paste button, and move the insertion point to where the content needs to be inserted. click the copy button, select the content, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, click the copy button, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, move the insertion point to where the content needs to be inserted, click the copy button, and click the paste button.
Answers: 3
question
Computers and Technology, 23.06.2019 06:00
Which statistical function in a spreadsheet you to see how far each number varies, on average, from the average value of the list?
Answers: 2
question
Computers and Technology, 24.06.2019 02:40
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
You know the right answer?
Write a game of Blackjack that functions as follows: Start by dealing two cards at random to the pla...
Questions
question
Mathematics, 07.05.2021 20:50
question
Mathematics, 07.05.2021 20:50
question
Mathematics, 07.05.2021 20:50
question
Mathematics, 07.05.2021 20:50
question
Mathematics, 07.05.2021 20:50
Questions on the website: 13722360