Flowchart
dice game flowchart
Flowchart content
start
input name of player 1
input name of player 2
player 2 score = 0
generate a random number between 1 and 6 for each player
output numbers
calculate scores
have you added 5 numbers to each players total
add player scores to their total
yes
no
do both players have the same score?
no
yes
roll a dice for each of the players
and add those to each of the players scores
whichever player has the highest score print player name is the winner
end
INPUT = player1
player 1 score = 0
INPUT = player2
Information
- Description
- Flowchart on dice game flowchart, created by Torben Walsh on 06/10/2021.
- Created by
- Torben Walsh
- Views
- 1
- Rating