Pages

Showing posts with label flowcharts. Show all posts
Showing posts with label flowcharts. Show all posts

Friday, 25 June 2021

Rock, Paper, Scissors

 LI: to learn how to code the microbit to play rock, paper, scissors and to understand the code through a flow chart.


This week for our tech session we learnt to code rock, paper, scissors into our Kittenbots. This code works by the shake of the Kittenbot, initiating the code itself. Once Kittenbot has been shaken the code will send a signal to pick a random number out of 1 to 3, once the bot has picked a number this number will be used as a symbol for the LED lights (if 1 is the number; it will show scissors). Above there is a flowchart showing the simplistic way of explaining this code. 

Friday, 18 June 2021

Flow Charts & Dice | Tech

 LI: to learn how to use flow charts to plan coding

LINK TO DLO
For tech this week we learnt about flow charts. Flow charts are the base product of coding, flow charts explain certain codes through simple lines and shapes to easily allow the person to understand the code itself. We also used the kittenbots to show patters and numbers. We made a code to show a number between 0 - random number and it would show the number on shake.