LI to learn how to code microbots to play rock paper sizzsors and understand how to use a flow chart .
- When I shake the microbit, it will choose a random number between 1 and 3
- I have to make a variable called hand and set this to the random number
- If the number is 1 - the microbit will show the symbol for paper
- If the number is 2 - the microbit will show the symbol for rock
- If the number is 3 - the microbit will show the symbol for scissors
No comments:
Post a Comment