๐ฎ Simon Game
A simple memory-based game built using HTML, CSS, and JavaScript.
The game generates a random sequence of colors, and the player must repeat the sequence correctly to move to the next level.
๐ Features
๐จ 4 colored buttons (Yellow, Red, Purple, Green)
๐ Level progression system
โจ Flash animation effect
โ Game over detection
๐ Restart by pressing any key
๐ง Memory-based gameplay
๐ ๏ธ Technologies Used
HTML5
CSS3 (Flexbox + Grid)
JavaScript (DOM manipulation + event handling)
๐ Project Structure Simon-Game/ โ โโโ index.html โโโ style.css โโโ app.js โโโ README.md
Download or clone this repository:
git clone https://github.com/your-username/your-repo-name.git
Open the project folder.
Open index.html in your browser.
Press any key to start the game.
๐ฏ How to Play
Press any key to start.
Watch the flashing color.
Click the buttons in the same sequence.
Each level adds one new color.
If you click the wrong color โ Game Over.
Press any key to restart.
๐ง Game Logic Overview
The game stores a random sequence in gameSq.
The user clicks are stored in userSq.
After each click, the program checks if the sequence matches.
If correct โ Level increases.
If wrong โ Game resets.
๐ธ Preview
You can add a screenshot here later:
๐ Future Improvements
๐ Add sound effects
๐ฑ Make it mobile responsive
๐จ Add smooth transitions
๐ Add high score tracking
๐ต Add background music
๐ Author
Sourav Verma B.Tech ECE Student
๐ License
This project is open-source and free to use.
