BBC micro:bit - Visual Acuity game written with MicroPython

Rate this resource

This Python program, written using the MicroPython editor Mu, is a game for aspiring astronauts designed to test their visual acuity. It is for use with this BBC micro:bit resource.

It has been shown that, over time, astronauts in space suffer deterioration in vision. This fun game can test visual acuity on the ground. 

The game works as follows:

All 25 of the BBC micro:bit LEDs will light up. One of the LEDs will be dimmer than the others - it will be on the left hand side or the right. Players must click button on the side with the dim LED - button A or B. The time they are given decreases each round, and the dimness of the LED varies also. When they fail to hit the correct button in time they will find out their score, and a light-hearted assessment of their astronaut status... ground crew, trainee astronaut or spacecraft commander!

The program is deliberately imperfect, as it is hoped students (and teachers) will make their own improvements. To do so, you will need to download and use the Mu editor.


Show health and safety information

Please be aware that resources have been published on the website in the form that they were originally supplied. This means that procedures reflect general practice and standards applicable at the time resources were produced and cannot be assumed to be acceptable today. Website users are fully responsible for ensuring that any activity, including practical work, which they carry out is in accordance with current regulations related to health and safety and that an appropriate risk assessment has been carried out.

Published by


Share this resource

Lists that tag this content