Pages

Friday, 25 June 2021

Rock, Paper, Scissors Flowchart


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

This week for tech we have been learning about flowcharts and microbits. Micro bits are little bot that are able to coded to flash rock paper scissors on the LED screen. 

1. When I shake a the micro bit chose a ramdom number between 1 and 3.
2. I have to make the variable called hand and set this to the ramdom 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.

1 comment:

  1. Talofa Lava Afatia I loved reading your blog post because you gave us a clear DLO of the steps of your blog post and even showed us a demostration video of how your micro bit works.Something I found interesting about learning about your DLO and work is being able to see a demostration of your microbit.Next time to make your blog post even better is to make sure it makes sense.Have your ever palyed wiht the micorbit before?
    Keep the good work up :)

    ReplyDelete