GoConqr has a new look! Let us know what you think.

Flowchart

Double Roll

Samuel F Computing Key Stage 3 English

Flowchart content

  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

Information

Description
Key Stage 3 Computing Flowchart on Double Roll, created by Samuel F on 15/09/2022.
Created by
Samuel F
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?