Question
Create 2 flowcharts representing the flows of any 2 of the games. Game 1: Twenty-One The game is played with cards. Number cards (2,3,4,5,6,7,8,9,10) are
Create 2 flowcharts representing the flows of any 2 of the games.
Game 1:
Twenty-One
The game is played with cards. Number cards (2,3,4,5,6,7,8,9,10) are worth their shown values. Other cards (Jack, Queen, King, Ace) are worth 10. The objectives of the game are to get cards as close to the value of 21 without going over and to beat the dealer. Assume the casino is using multiple decks for Twenty-One. Duplicates can be drawn in the same game
Game 2:
High Low
The game is played with cards. The rank of the cards from low to high is as follows: A,2,3,4,5,6,7,8,9,10, Jack, Queen, King. The objective of the game is to guess whether the next card is going to be higher or lower than the current card. Assume the casino is using one deck for High Low, so no duplicates of cards can be drawn in the same game.
Game 3:
Slots
Gameplay as follows:
The user is asked for the number of spins
Every spin costs the customer 5, this is added to the casino balance
Each spin, one of the following outcomes occurs:
70% chance to win 1 from the casino
20% chance to win 5 from the casino
9% chance to win 10 from the casino
1% chance to win 100 from the casino
Display the amount the user won
Repeat steps 2 to 4 until the number of spins are complete
Game 4:
Seven-Eleven
The game is played with dice. The objective of the game is to roll a seven or an eleven first.
Gameplay as follows:
The user makes a bet, the casino matches the amount to create the pot
The user and the casino each roll 2 six-sided dice simultaneously. The sum of both die is that player's total
If a player rolls a 7 or 11 and the other does not, the player with the 7 or 11 wins
If neither player rolls a 7 or 11, roll again
If both players roll a 7 or if both players roll an 11, roll again
If one player rolls a 7 and the other rolls an 11, the one who rolled an 11 wins
The winner wins the pot and adds the money to their balance
PICK ANY 2 YOU CAN
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started