Stacker game

{% trans 'Sorry, your browser does not support canvas -- please either update your browser or submit your requirements by phone or email.' %}

Accelerometer

Avatar for 16harrys 16harrys

Stacker game ~~~~~~~~~~~~~ Press A to build a stack. Get all the way to the top to beat the game! The speed increases each time you successfully build on the stack, Variables ~~~~~~~~~ max_delay sets the initial delay between leds illuminating The lv_delay variables specify the speed of the leds illuminating. The lower the number the faster (and more difficult) the level is. Note: If running in the emulator then reduce all the delays by a factor of 10. Otherwise you will be waiting a long time ;-). The multiple checks to see if a button has been pressed is an attempt to de-bounce the button input. Bit of a work in progress, but feel free to have a play.

Report this project
Back to top