Simon Says Memory Game with Arduino Uno
4 colour-coded LEDs, musical tones, progressive difficulty, and button debouncing — all simulated in Wokwi.
· By MakeMindz
🔬 No hardware needed — run the full game in your browser
▶ Open Wokwi SimulationWhat You'll Build
Arduino flashes a growing LED sequence — repeat it exactly or it's game over!
Random Sequences
Unpredictable patterns via random(0,4)
Debouncing
50ms millis() filter prevents false triggers
Musical Tones
C, E, G, B — a real C major arpeggio
Difficulty
Speed increases every 5 rounds
Timeout
5-second response window per press
State Logic
Boolean flags manage game flow
Parts List
All available as virtual parts in Wokwi — or build on a real breadboard!
Arduino UNO
Runs game logic — generates sequences, reads buttons, drives outputs
4× LEDs (Red / Green / Blue / Yellow)
One per colour — flash to show the sequence the player must repeat
4× 220Ω Resistors
One per LED — limits current to protect LEDs and Arduino pins
4× Push Buttons
Colour-matched to LEDs — player presses to repeat the sequence
Piezo Buzzer
Plays a unique musical tone for each colour during playback and input
Breadboard + Wires
For physical builds — all connections also work in Wokwi digitally
Comments
Post a Comment