Home › Builds › Simon memory game

Simon memory game

Bench build · Embedded (Arduino) · Intermediate · about 40 minutes

Shows a sequence of lights; you repeat it, one more each round. The board shows a growing sequence of colours; you repeat it on four buttons. The sequence is an array filled with random numbers when a game starts; the sketch shows the first “level” entries, then checks each button release against the next one. One mistake: the buzzer sounds and the game restarts at level 1.

Simon memory game: the finished build running on the simulator's bench

Build it in the labGuided build, test sheet and fault finding, free in your browser.

Parts list

Test procedure

Each test has an expected value and a pass range, like a factory test sheet:

  1. Lamp test: every LED lights
  2. Repeat a sequence: the level goes up
  3. A wrong button ends the game

How it works

What it does: Shows a sequence of lights; you repeat it, one more each round.

Build it (guided or ready-made), then run its test procedure below. Every test has an expected value and a pass range, just like a factory test sheet.

Things to try

  1. Reach level 5. Then change 500 and 250 in the WATCH timing to 300 and 150: the game speeds up.
  2. Make each colour beep: put a passive buzzer on D11 and tone(11, 262 + 70 * colour, 200).
  3. Why the release, not the press? A press lights the LED for as long as you hold it, the way the toy does.

Background

Simon (Milton Bradley, 1978) was one of the first electronic toys; its four tones were chosen to sound pleasant in any order.

More builds: embedded (arduino)