mirror of
https://github.com/alankrantas/microbit-micropython-cookbook.git
synced 2026-01-05 20:01:16 +01:00
Update readme.md
This commit is contained in:
@@ -1,3 +1,17 @@
|
|||||||
## Simon Game for BBC micro:bit V2
|
## 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.
|
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 gestures to the four 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.
|
||||||
|
|||||||
Reference in New Issue
Block a user