ICT YEAR 3
Micro:bitÂ
Have you ever played a game with a score?
Many games use numbers for things like score, points, and lives or heath by using a special block called a Variable.
Watch the following video to find out about what a variable is
With a variable its the same except instead of shoes you might save a list of numbers called a "score".
When you want to change the "Score", you add a number into it.
Now you have your Score Variable - you can either add to it, or pull the score out of the box by "calling" or showing the variable in your code.
BUT - since the variable is a number, it can only be used where numbers fit into your code.
Micro:Bit should already be paired. All we need to do is make a code, then download it to send it to Micro:bit!
Now lets look at how to make a score counter, using a Variable!
(Click the link to the right, or look at the web page in the window below)
When finished: Remember to press download - then you will need to put Micro:Bit in pairing mode again!
Always wait for the instructions on screen to say its done "flashing" Micro:bit before resetting/trying to use it.