LI:To learn jow to cod the micrbit to play Rock Paper Scissors and understand how to flowchart matches the code.
- When we shake the micrbit. It will choes a random number betwen 1 and 3.
- I ahev to make a variables called hand and set this to the random number.
- If the unmber is 1 the microbit will choses paper.
- If the unmber is 1 the microbit will choses Rock.
- If the unmber is 1 the microbit will choses scissors.
No comments:
Post a Comment