Update readme.md

This commit is contained in:
Alan Wang
2021-04-24 18:20:06 +08:00
committed by GitHub
parent c0f4cb1e02
commit 52ca00f78c

View File

@@ -1,3 +1,17 @@
## 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.