Pages

Friday 25 June 2021

Rock paper scissons

 LI: To learn how to code in MaLI To learn how to code the microbit to play rock papaer scissors and understand how the flowchart matches the code.

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







 










\



2 comments:

  1. ki ora diana great work i did this to how did came up with this ideas.?

    ReplyDelete
  2. i make an DLO to show poeple to learn about microbits and how they can get use to it

    ReplyDelete