Edit: Updated/extended version available w/ post 26#.
Conversation about Help for Newbie. LED lights for game board by @ser96445 (@user96449) made me dig up the Neopixles that I got as part of the Espruino PICO Kickstarter reward and some other scraps and make a prototype show the status of a reaction game. So fare I did not neopixel yet (from 'to neopixel'). The perfect opportunity to put these forgotten 4-legged 5mm round neopixel LEDs finally to work has just come.
A clip shows you the last - 4th - race step of the last - 3rd - race of a game. These are the events:
both users' horses have already won two races,
horses are in 3rd and 4th of the total 5 positions
game host starts race step by pushing game control button
flickering for the step goes on and stops
user 0 - top lane / left button - is 1st to press button and horse wins step
horse's next race position lights up with previous position still lit
race win AND game win is detected and game's race wins only show
game host starts new game (showing different colors)
horses are back in start positions of first race in new (next) game
game host starts race step
user 1 - bottom lane / right button - user's horse wins step and advances
If event 7 would have been race win only, briefly only last LED for position and LED for wins would have been lit and game would have resumed with event 9: players' horses back in start position of next race.
A user pressing too early the button is shamed with lane fully lit. Race step is repeated.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Edit: Updated/extended version available w/ post 26#.
Conversation about Help for Newbie. LED lights for game board by @ser96445 (@user96449) made me dig up the Neopixles that I got as part of the Espruino PICO Kickstarter reward and some other scraps and make a prototype show the status of a reaction game. So fare I did not neopixel yet (from 'to neopixel'). The perfect opportunity to put these forgotten 4-legged 5mm round neopixel LEDs finally to work has just come.
A clip shows you the last - 4th - race step of the last - 3rd - race of a game. These are the events:
If event 7 would have been race win only, briefly only last LED for position and LED for wins would have been lit and game would have resumed with event 9: players' horses back in start position of next race.
A user pressing too early the button is shamed with lane fully lit. Race step is repeated.
4 Attachments