Introduction
You can use the inputs on CodeBug with the tethered mode to control your computer. Using PyDance you can then build your own arcade dance game with simple foil and foam mats.
Make sure you have followed the ‘Tethering CodeBug With Python’ guide before trying this activity.
Note: You need your foam to be reasonably spongy and about 1cm thick. You can cut up plastic film folders to use for the plastic sheets.

![]() |
CodeBug | |||
Raspberry Pi | ||||
Micro USB cable | ||||
Double-sided tape | ||||
Single-sided tape | ||||
Plastic sheets | ||||
Foam sheets | ||||
Kitchen foil | ||||
Wires |