timing gates.jpg
The Timing Gates project from Hockerill starts from scratch and goes to games and beyond in two very interesting lesson plans, for example:

>>>You are going to use a new programming tool, the pxt editor, for the microbits.

>>>This part of the iSTEM project is to get the microbit to display acceleration data
(Information about how the motion of the microbit is changing)

>>>Try to create one of the games in the projects section of help (press the ? icon)
Past a screen print of how far you get here:

Timing Gates Game.jpg