Flowchart
Double Roll
Flowchart content
round()
def round():
p1 = input("What is your name player one? ")
p2 = input("What is your name player two? ")
diceRoll()
def diceRoll():
Start
die = [1,2,3,4,5,6]
diceNum1: random.randint(dice)
diceNum2: random.randint(dice)
if p2 or p1 =! playerOne or PlayerTwo
playerOne = "sam"
playerTwo = "glyn"
process.terminate()
False
True
p1Score = 0
p2Score = 0
score == score + diceNum1
score == score + diceNum2
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