velxio/example_zip/extracted/simon-with-score
David Montero Crespo a145075eb8 Add Simon Game with Score Display and Pong Game
- Created pitches.h to define musical note frequencies.
- Implemented Simon Game in simon-with-score.ino, featuring LED indicators, button inputs, and score display using a 74HC595 shift register.
- Added game logic for sequence playback, user input validation, and game over conditions.
- Included README.md for Simon Game instructions and hardware setup.
- Added Wokwi project files for simulation of Simon Game.
- Introduced Pong game with basic mechanics, including paddle movement and scoring, in pong.ino.
- Included Wokwi project files for simulation of Pong game.
2026-03-09 02:13:47 -03:00
..
README.md Add Simon Game with Score Display and Pong Game 2026-03-09 02:13:47 -03:00
diagram.json Add Simon Game with Score Display and Pong Game 2026-03-09 02:13:47 -03:00
pitches.h Add Simon Game with Score Display and Pong Game 2026-03-09 02:13:47 -03:00
simon-with-score.ino Add Simon Game with Score Display and Pong Game 2026-03-09 02:13:47 -03:00
wokwi-project.txt Add Simon Game with Score Display and Pong Game 2026-03-09 02:13:47 -03:00

README.md

Simon is a simple electronic memory game: the user has to repeat a growing sequence of colors. The sequence is displayed by lighting up the LEDs. Each color also has a corresponding tone.

In each turn, the game will play the sequence, and then wait for the user to repeat the sequence by pressing the buttons according to the color sequence. If the user repeated the sequence correctly, the game will play a "leveling-up" sound, add a new color at the end of the sequence, and move to the next turn.

The game continues until the user has made a mistake. Then a game over sound is played, and the game restarts.

Simon Game Shield for Arduino Uno

Hardware

Item Quantity Notes
Arduino Uno R3 1
5mm LED 4 Red, Green, Blue, and Yellow
12mm Push button 4 Red, Green, Blue, and Yellow
Resistor 4 220Ω
Piezo Buzzer 1
Simon hardware kit
Hardware for the Simon game, kit available on Tindie

Diagram

diagram
Simon connection diagram

Pin Connections

Arduino Pin Device
12 Red LED
11 Green LED
10 Blue LED
9 Yellow LED
8 Buzzer
5 Red Button
4 Green Button
3 Blue Button
2 Yellow Button
  • The LEDs are connected through a 220Ω resistor each.