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

Diagrama de flujo

Controlled Assessment

Finton Wyatt Inglés

Contenido del diagrama

  1. Output random word on screen

  2. Player one inputs word back

  3. Output different random word on screen

  4. Player Two inputs word back

  5. Choose a random number from 1-6, twice, for player 1

  6. Choose a random number from 1-6, twice, for player 2

  7. If number is even (2,4,6), add 10 to player score

    If number is odd (1,3,5), minus 5 from player score

  8. Create variables for both players score

    that cannot go below 0

  9. Double roll = 1 extra roll and score added

  10. Loop this 5 times (5 rounds), counting the score of each player after each round.

  11. If it ends in a draw, add an extra round to ensure a winner.

  12. Output the winner

  13. Rewrite the leaderboard using a name of the users choice if the winners score is in the top 5.

  14. Read the leaderboard

  15. Output asking for Player 1 to enter a

    username.

  16. Player 1 inputs username.

  17. Output asking for Player 2 to enter a

    username

  18. Player 2 inputs username

Información

Descripción
Diagrama sobre Controlled Assessment , creado por Finton Wyatt el 10/09/2019.
Creado por
Finton Wyatt
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?