Friday, 25 June 2021

Rock, Paper, Scissors Flowchart

 LI: To learn how to code the micro bit to play rock, paper, scissors and understand how the flowchart matches the code. 

Link to DLO



  1. When I shake the micro bit it will choose a random number between 1 and 3. 
  2. I make a variable called 'hand' and set this to the random number. 
  3. If the number is 1 - the micro bit will show the symbol for paper.
  4. If the number is 2 - the micro bit will show the symbol for rock.
  5. If the number is 3 - the micro bit will show the symbol for scissors.
This week for technology we have been creating flowcharts explaining our coding on makeblock. This week we have been learning how to code a rock, paper, scissors game. There is a DLO showing my flowchart and a video of my rock paper scissors. 

1 comment:

  1. Malo e Lelei Fau thats a cool video you did about what the makeblock looks like when you code it and when it shows on the makeblock the in. What was your favourite part about the makeblock?

    ReplyDelete