Mindmap
Task 2
Inhalt der Mindmap
Task 2
The players play 5 rounds.
Have to make sure the players are authorised.
Give them a password, or give them a set login, or check their usernames.
The dice is six sided.
The top 5 scores are stored in an external file.
1
- Make the player enter a certain password or check their name against a list.
- To get the password, the coding could be print ("Your password will be 1234") , and this would be their password.
- Or you could give them a username, so the coding would be print ("Your username is ) , and then give them a username. You could then ask them what their username is.
- Make the player enter a certain password or check their name against a list.
2
- You need to tell each player to roll the dice, and you can call each of them player one and player two. The code could be print ("Player one, it's your turn.") and then you would put random_number = random.randint (1,6). They have to roll two dice
- After they roll the dice, the code would be print("Player one rolled", ValueOne) but then you would have to define ValueOne. You could do this by putting ValueOne = randint(1,6) before that code
- You need to tell each player to roll the dice, and you can call each of them player one and player two. The code could be print ("Player one, it's your turn.") and then you would put random_number = random.randint (1,6). They have to roll two dice
Informationen
- Beschreibung
- GCSE Computing Mindmap am Task 2, erstellt von Aimee Godden am 19/03/2019.
- Erstellt von
- Aimee Godden
- Aufrufe
- 0
- Verlauf
-
- Erstellt von Aimee Godden · 18 Mär 2019
- Kopiert von Aimee Godden · 19 Mär 2019
- Bewertung