Simple calculator to add two numbers. This script can easily be adapted for subtraction, division and multiplication.
Enter a number - a simple program that can be used to enter a number to a micro:bit.
Turn of century age counter - another program based on the 'enter a number' program. In this case to calculate the user's age at the turn of the century.
Cricket umpire's over counter - this is an adaptation of the 'enter a number' program. It is for an umpire to keep a record of the number of balls bowled in an over.
Reaction game and reaction game with score - the score version is an extension of the reaction game. This is a two player game. The first person to press their button on a given signal is the winner.
When shaken start counting.
When button A is pressed record the paper size
display size
Restart the count.
When button B is pressed record the height
display height
area = paper size - (height x 2) x paper size - (height x 2)
volume = box area x height
display volume