L.I To learn how to code the microbit to play rock paper sicsors and under stand how the flowchart matches the code.
When I shake the microbit it will chose a random number beetween 1 and 3. I have to make a veriable called hand and set this to the random number. If The number is 1 - the microbit will show the simble of rock. If The number is 2 - the microbit will show the simble of paper. If The number is 3 - the microbit will show the simble of scissors.
No comments:
Post a Comment