Software Design Project
Flowchart for Blackjack
Pseudo code for Over 7 & Under 7
· user enters amount of money to start with
· user is prompted to guess either below, above, or equal to 7
· the game rolls the “dice”
o the dice are two different operators separate of each other
o the output numbers will be added together, and the sum is what the bet is based off
o the “dice” will both have an image displayed to act as what the numbers landed on were
· the player will be rewarded money based off what they guessed and if it was correct
o correctly betting on above or below 7 will reward double what you bet back (bet = 20: return = 40)
o if the user bets on 7 and is correct, 4 times the bet amount will be returned. (bet = 20: return = 80)
· The player may play until they either run out of money or choose to stop.
o If the player runs out of money, they will be prompted “you lose” or something of the sort