Flussdiagramm
dice game flowchart
Inhalt des Flussdiagramms
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
Informationen
- Beschreibung
- Flussdiagramm am dice game flowchart, erstellt von Torben Walsh am 06/10/2021.
- Erstellt von
- Torben Walsh
- Aufrufe
- 1
- Bewertung