¡GoConqr estrena diseño! Cuéntanos qué te parece.

Diagrama de flujo

dice game flowchart

Torben Walsh Inglés

Contenido del diagrama

  1. start

  2. input name of player 1

  3. input name of player 2

  4. player 2 score = 0

  5. generate a random number between 1 and 6 for each player

  6. output numbers

  7. calculate scores

  8. have you added 5 numbers to each players total

  9. add player scores to their total

  10. yes

  11. no

  12. do both players have the same score?

  13. no

  14. yes

  15. roll a dice for each of the players

    and add those to each of the players scores

  16. whichever player has the highest score print player name is the winner

  17. end

  18. INPUT = player1

  19. player 1 score = 0

  20. INPUT = player2

Información

Descripción
Diagrama sobre dice game flowchart, creado por Torben Walsh el 06/10/2021.
Creado por
Torben Walsh
Visitas
1
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?