GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Flussdiagramm

Double Roll

Samuel F Computing Key Stage 3 Englisch

Inhalt des Flussdiagramms

  1. round()

  2. def round():

  3. p1 = input("What is your name player one? ")

  4. p2 = input("What is your name player two? ")

  5. diceRoll()

  6. def diceRoll():

  7. Start

  8. die = [1,2,3,4,5,6]

  9. diceNum1: random.randint(dice)

  10. diceNum2: random.randint(dice)

  11. if p2 or p1 =! playerOne or PlayerTwo

  12. playerOne = "sam"

  13. playerTwo = "glyn"

  14. process.terminate()

  15. False

  16. True

  17. p1Score = 0

  18. p2Score = 0

  19. score == score + diceNum1

  20. score == score + diceNum2

  21. total = diceNum1 + diceNum2

Informationen

Beschreibung
Key Stage 3 Computing Flussdiagramm am Double Roll, erstellt von Samuel F am 15/09/2022.
Erstellt von
Samuel F
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck