Arduboy Says - A Simon Clone

I spent yesterday making a Simon Says / Simon game for the Arduboy.

The game is simple. Remember and repeat the sequences as they show on screen. There are twenty levels generated randomly, so the game should be replayable. The random generation isn’t quite working perfectly, sometimes sequences repeat through the same levels (ie, level 1 is almost always Left then Right).

The code is a little spaghetti, but it would be my first major attempt at a game written on an Arduino platform.

The game can be found here: https://github.com/Slade1972/Arduboy-Says

Screen Shots

I hope people enjoy the game. It was a good challenge making it.

3 Likes

I suggest you change the game to use the Arduboy2 library. The original Arduboy library is no longer being developed.

Change:

#include <Arduboy.h>

to:

#include <Arduboy2.h>

and change:

Arduboy ab;

to:

Arduboy2 ab;

Thanks.
I’ve done as you suggested and I was surprised to see a 5% saving in code space. :astonished:

The code on Github has been updated. It was a huge challenge to add that ‘2’ in both places :stuck_out_tongue:

Just for a laugh, I was considering adding the Konami Code to the game. Would the best way be to just initially in the

void loop(){ }

section somewhere watch for the UP_BUTTON and then split off and check to see if the rest of the code is input in the correct sequence, if not, break back out to the main loop ?

Thanks for any help.

1 Like

Sadly we’re missing a START button😢

Hella necropost.

But as long as we are talking about it, one of the consoles I made has a konami code secret in it.