Skip to content

Instantly share code, notes, and snippets.

#include <Tinyfont.h>
#include <ArduboyTones.h>
#include <Arduboy2.h>
Arduboy2 arduboy;
ArduboyTones sound(arduboy.audio.enabled);
Tinyfont tinyfont = Tinyfont(arduboy.sBuffer, Arduboy2::width(), Arduboy2::height());
const unsigned char abMask[] PROGMEM = {
0x3c, 0x7e, 0x7e, 0x7e, 0x7e, 0x3e, 0x3f, 0x3f, 0x3f, 0x3f, 0x1e,
@Gitonym
Gitonym / JCGOL.ino
Last active May 21, 2018 02:51
The Game of Life for ARDUBOY
#include <Tinyfont.h>
#include <Arduboy2.h>
Arduboy2 arduboy;
Tinyfont tinyfont = Tinyfont(arduboy.sBuffer, Arduboy2::width(), Arduboy2::height());
bool cellState[512];
byte screen = 0;
byte frameRate = 10;
byte selectorHeight = 0;
@Gitonym
Gitonym / AsteroidBelt.ino
Created April 28, 2018 16:00
My 2nd Arduboy game in which you have to shoot asteroids befor they crush you!
#include <Tinyfont.h>
#include <ArduboyTones.h>
#include <Arduboy2.h>
Arduboy2 arduboy;
ArduboyTones sound(arduboy.audio.enabled);
Tinyfont tinyfont = Tinyfont(arduboy.sBuffer, Arduboy2::width(), Arduboy2::height());
const unsigned char gameOver[] PROGMEM = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@Gitonym
Gitonym / INBO.ino
Last active March 17, 2018 23:28
A Topdown shooter for the Arduboy
#include <Tinyfont.h>
#include <ArduboyTones.h>
#include <Arduboy2.h>
Arduboy2 arduboy;
ArduboyTones sound(arduboy.audio.enabled);
Tinyfont tinyfont = Tinyfont(arduboy.sBuffer, Arduboy2::width(), Arduboy2::height());
const unsigned char speaker[] PROGMEM = {
0x1e, 0x3f, 0x00, 0x0c, 0x00, 0x12, 0x0c, 0x21, 0x1e,