This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
JUMPING SNAKE | |
Version 1.1 | |
Written by Markus Geiger alias Jayjunx 2018 | |
http://www.chibicom.com | |
Game License: MIT: https://opensource.org/licenses/MIT | |
*/ | |
#include <Arduboy2.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A demonstration of the ArduboyPlaytune library used with the Arduboy | |
// A short score is played repeatedly in the background. | |
// The current settings are displayed and a circle moves across the | |
// bottom of the screen. If sound is muted the screen color is reversed. | |
// Buttons perform the folowing functions: | |
// | |
// A - Mute sound output by calling Arduboy2::audio.enabled(true). | |
// B - Unmute the sound by calling Arduboy2::audio.enabled(false). |