Pages

Friday, 25 June 2021

Rock Paper Sizzors

 LI to learn how to code microbots to play rock paper sizzsors and understand how to use a flow chart .

link to DLO



  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





No comments:

Post a Comment