A classic memory challenge game built with HTML, CSS, and JavaScript.
Test your memory skills by repeating an ever-growing sequence of colors and sounds. Each level adds a new color to the sequence — how far can you go before making a mistake?
The Simon Game is simple yet challenging.
Here’s how it works:
- The game flashes a random color (and plays a tone).
- You must click the same color.
- The game then repeats the pattern but adds one new random color.
- You must remember and repeat the entire sequence.
- The sequence keeps growing until you make a mistake — then, it’s Game Over!
| Round | Sequence Shown | What You Should Press |
|---|---|---|
| 1 | 🟢 | 🟢 |
| 2 | 🟢 🔴 | 🟢 🔴 |
| 3 | 🟢 🔴 🟡 | 🟢 🔴 🟡 |
| 4 | 🟢 🔴 🟡 🔵 | 🟢 🔴 🟡 🔵 |
If you happen to fumble the pattern by even one color, the game ends.
You can run the game right on your computer — no installation required!
-
Clone the repository
✅ Dynamic random sequence generation
✅ Sound and light feedback for each color
✅ Increasing difficulty with every level
✅ Visual indication for correct and incorrect actions
Frontend:
- HTML5 (structure)
- CSS3 (styling, animations)
- JavaScript (logic and interactivity)