

For my I/O Digital Arduino project, I chose to replicate a memory game: a Simon-says style memory game for my Arduino Nano 33 IoT setup with four colored button/LED pairs (blue, yellow, green, red).
How it plays:
The board flashes a sequence of LEDs, starting with just one light.
The user repeats the sequence by pressing the matching colored buttons in order.
Get it right and the game adds one more random step to the sequence, then plays the whole thing back again (classic Simon-style escalation).
Get it wrong or take longer than 4 seconds to press a button, and all four LEDs flash together to signal game over, then a fresh game starts at level 1.
Troubleshooting:
I ran into some trouble during the process. My yellow light wouldn't turn on, so I thought something was wrong with the way I had things wired up. Turns out, the bulb was burnt out; swapping it out was all that was needed.

Extra touches:
Playback speeds up as you climb levels (starts around 600ms per flash, drops to a 150ms floor) so it gets genuinely harder, not just longer.
Each button press lights its LED briefly as feedback so you know it registered.
Debounce logic and a wait-for-release check keep single presses from double-counting.
Serial Monitor counter that provides details into if user is correct, wrong or if the game has started over.


© 2019-2026 Marshall Creative Group LLC
Studio