Nomis: A simple memory game similar to Simon(tm)


(Ccaroon) #1

Description

A simple memory game similar to Simon™.

Instructions

The game starts at level one by showing one of the 6 buttons on the screen
and playing an associated tone. Your job is to repeat the button press.

At each level a new button is added to the sequence. So by level 5 the Arduboy
will display a sequence of five buttons and play their associated tones and
you’ll have to repeat the sequence of 5.

There’s currently no penalty for getting it wrong. You get as many tries as you
like.

You advance levels by successfully repeating the sequence that the Arduboy plays.

How far can you get??

Download

From GitHub

Installation

Arduino IDE (Thanks @MLXXXp)

  1. Make a folder named nomis in your Sketchbook folder.
  2. Copy files nomis.h and nomis.cpp into the nomis folder.
  3. Copy file main.ino into the nomis folder and rename it to nomis.ino.

Platformio

  1. platformio run --target upload

Development

Nomis was developed with Platformio


Eried's Unofficial Repo :)
Eried's Unofficial Repo :)
(Scott) #2

You’re going to have a lot of people asking how to install this in the Arduino IDE.

I had to:

  • Make a folder named nomis in my Sketchbook folder.
  • Copy files nomis.h and nomis.cpp into the nomis folder.
  • Copy file main.ino into the nomis folder and rename it to nomis.ino.

Also, you should delete the semicolon from the end of the first line in nomis.ino:
#include "nomis.h"; <- delete the semicolon


(Ccaroon) #3

Thanks for the instructions for installing with the Arduino IDE. I don’t use it so didn’t think about it. I’ll update the README.md.

Also, thanks for pointing out the extra semi-colon. Not sure how that got past the compiler.


(Scott) #4

Due to a conflict caused by both the RGB LED and the tunes functions using Timer 1, the brightness of the LED can’t be controlled properly. The LED is being set to full brightness, which I find quite distracting

I’ve created a version of Nomis that uses my Arduboy2 and ArduboyTones libraries. ArduboyTones doesn’t use Timer 1, so the RGB LED can be dimmed properly.

I’ve set the brightness value for LEDs to 15. It can changed by modifying the value of ledOn near the top of nomis.h (value can be from 0 to 255).

My version is on GitHub at:

@ccaroon, feel free to incorporate my changes in your code if you wish.

P.S. Something you can do with my version:
Use the audio mute system control feature of the Arduboy2 library to turn sound off. You can then play the game with just the visual button indications. :grin:


(Josh Goebel) #5

Screen capture or video please. :slight_smile: