Fluxograma
Flowchart by Harriet Leplar
Conteúdo do fluxograma
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
Informações
- Descrição
- Fluxograma sobre Flowchart by Harriet Leplar, criado por Harriet Leplar em 11-10-2018.
- Criado por
- Harriet Leplar · out 2018
- Atualizado
- 13 out 2018
- Visualizações
- 1
- Avaliação