Flussdiagramm
Flowchart by Harriet Leplar
Inhalt des Flussdiagramms
Start
login = input("Select 1 for login, select 2 for creating a login, or 3 to exit
Did they choose 1?
login = input("Enter your username")
Did they choose 2?
Yes
Yes
No
Create username between 5 and 15 characters long
Is username valid?
Is the username valid?
No
No
Please enter password
Is password valid?
No
Yes
Did they choose 3?
Goodbye
Invalid number entered
Yes
No
Enter password
Yes
Is password valid?
No
You have logged in successfully
Yes
You are now going to roll two 6 sided dice
Is the total odd?
You did roll a total of "" but because it was an odd total, you now have a total of ""
You did roll a total of "" but because it was an even total, you now have a total of ""
Five rounds are played with the same format as above.
Is total >0?
You have a score of 0
Yes
Is that turn a double?
No
"Because your turn rolled a double, you get to roll one more die.
Adds the result of the three dice rolls together
Yes
No
Has five rounds been played?
No
No
Outputs winning player and score
Yes
Is score higher than the 5 in the text file?
Stores their name below the top five players
Remove the lower score and replace with player's name and score in the text file
No
Yes
End
Yes
Informationen
- Beschreibung
- Flussdiagramm am Flowchart by Harriet Leplar, erstellt von Harriet Leplar am 11/10/2018.
- Erstellt von
- Harriet Leplar · Okt 2018
- Aktualisiert
- 13 Okt 2018
- Aufrufe
- 1
- Bewertung