phdesign / microbit_games

Some python games for the BBC micro:bit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

microbit_games

Games in pythin for the BBC micro:bit

bop_it

A micro:bit take on the Bop It game, using arrows to indicate which of the buttons or logo to press. Tests your reaction time by allowing progressively shorter wait times for you to push the button.

Installing

Use uFlash to install on the micro:bit.

Install uFlash

pip install uflash

Compile and load

uflash bop_it.py

Playing

Press the A button to start.

Testing

Install pytest

pip install pytest

Now install microbit stubs from https://github.com/PhonicCanine/microbit

Then run test suite

pytest

About

Some python games for the BBC micro:bit

License:MIT License


Languages

Language:Python 100.0%