Thursday, 24 June 2021

Rock Paper Scissors shoot!!!!

 L.I To learn how to code the Microbit to play Rock paper scissors and understand how the flowchart matches the code.

1. When I shake the Microbit, it will choose a random number between 1 and 3

2. I have to make a variable called hand and set this to the random number👀👀👀

3.If the number is 1- the Microbit will show the symbol for paper

4.If the number is 2-the Microbit will show the symbol for rock.

5. If the number is 3- the Microbit will show the symbol for scissors.

Something I found interesting about doing this task, is being able to understand the steps of coding.









No comments:

Post a Comment