Pages

Friday, 25 June 2021

Rock, Paper, Sicissors Flow chart

 LI: To learn how to code the microbit to play rock paper scissors and understand how the flow chart matches the code.


  1. When I shake the microbit it will chose 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 this number is one - the microbit will show the symbol for papper.
  4. if this number is two  -the microbit will show the symbol for rock.
  5. if this number is three - the microbit will show the symbol for scissors.


1 comment:

  1. Talofa Lava Juel!

    Reading your flowchart has given me a clear understandning about your coding. I can see clearly that you are coding 'Rock, Paper, Scissors' game. Was there anything hard or challenging about this activity?

    Keep up the great work!
    Fau

    ReplyDelete