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.