Pages

Friday 25 June 2021

Rock Paper Scissors

 L.I to learn how to code the microbit to play Rock Paper Scissors and understand how the flowchart matches the code.

Link to DLO

This week for tech we played rock paper scissors on the microbit. FIrst we had to code the microbit which is on the DLO. Once you have downloaded the code you have to shake the microbit and it will choose a random number bwetween 1 and 3. I have to make a variable called handand set this to the random number.
If the number is 1 the microbit the symbol for paper. If the number is 2 the microbit will the symbol for rock. If the number is 3 the microbit will show the symbol for scissors.










No comments:

Post a Comment