https://github.com/ronguest/reaction-game
Reaction game based on CPx
https://github.com/ronguest/reaction-game
circuit-playground-express circuit-python cpx game neopixels reaction-game
Last synced: about 2 months ago
JSON representation
Reaction game based on CPx
- Host: GitHub
- URL: https://github.com/ronguest/reaction-game
- Owner: ronguest
- License: apache-2.0
- Created: 2017-12-21T13:52:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-10T21:35:38.000Z (over 6 years ago)
- Last Synced: 2025-04-06T15:17:41.754Z (about 2 months ago)
- Topics: circuit-playground-express, circuit-python, cpx, game, neopixels, reaction-game
- Language: Python
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Reaction-Game
Reaction game based on Circuit Playground Express* The neopixels will cycle counter clockwise. All will be blue except one which will be red which is the player's target
* The object of the game is to touch the pad A7 right when the one LED changes to red (random for each game)
* When first started the neopixels will all flash blue except for #1 being RED indicating the initial difficulty setting of 1 (easiest)
* Press push button B to start the game. It will turn off all of the neopixels for 1 second so you can prepare then begin cycling until you touch A7
* If you get it right a little victory tone set is played and all the neopixels turn GREEN
* If you miss then there is a sadder tone and the neopixels go RED
* You can hit push button B to play again
* If you want to increase the difficulty press push button A. Difficulty is 1 to 5 and the number of RED neopixels shows the current difficulty setting
* Difficulty 5 has the game run as fast as it canI referred to the Simple Simon game for ideas on how to do some of this: https://learn.adafruit.com/circuit-playground-simple-simon/the-structure-of-struct?view=all#circuitpython-version