mirror of
https://github.com/alankrantas/microbit-micropython-cookbook.git
synced 2026-01-04 11:21:08 +01:00
18 lines
739 B
Markdown
18 lines
739 B
Markdown
## Simon Game for BBC micro:bit V2
|
|
|
|
The game is inspired by [Simon electronic games](https://en.wikipedia.org/wiki/Simon_(game)) and is written in MicroPython (not compatible to micro:bit V1), using the accelerometer to sense directions and has buzzer sound effects.
|
|
|
|
```
|
|
How to play:
|
|
|
|
1) Upload the script as main.py or in the form of .hex file.
|
|
2) After the welcome effects, press A + B to start.
|
|
3) Memorize the Simon sequence in each turn.
|
|
4) Tilt the board toward indicated directions to match the sequence.
|
|
5) After each tilting gesture, you have to return it to horizontal position.
|
|
6) Game will end when you failed.
|
|
7) There is no limit how long the Simon sequence can go.
|
|
```
|
|
|
|
The code is shared under General Public License 3.0.
|