Pages

Friday, June 25, 2021

Rock paper scissors

 LI:To learn how to code microbots to play rock paper sizzors and understond 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

1 comment:

  1. Malo e Lele’i Liletina I really like how your flowchart is so organised and the writing and arrows are so helpful to understand the coding picture.

    ReplyDelete