๐ง Test your memory. Follow the pattern. Beat your high score!
A fun and interactive Simon Game built using HTML, Core CSS, and JavaScript. The game challenges players to remember and repeat an increasingly complex sequence of flashing buttons.
โจ Designed with an animated dynamic background, interactive button effects, and action-based sound effects to create an engaging gaming experience.
๐ Play Simon Game
desktop view
mobile view
๐ฏ Classic Simon Gameplay Follow the generated sequence and repeat it correctly.
๐ Animated Dynamic Background A visually engaging animated background creates a lively gaming atmosphere.
๐ก Interactive Flashing Buttons Buttons provide visual feedback with smooth flash-up animations whenever an action occurs.
๐ Action-Based Sound Effects Different sounds enhance the gaming experience:
- ๐ฎ Button click sound
- ๐ Level-up sound
- ๐ฅ Game-over sound
- ๐ต Game-start sound
๐ Progressive Difficulty The sequence becomes longer as the player successfully completes each level.
๐ Score & Level Tracking Keep track of your current progress and try to achieve a higher score.
โก Instant Visual Feedback Animations and sounds make every player action immediately noticeable.
๐ฑ Responsive Design The game interface adapts to different screen sizes and devices.
| Technology | Purpose |
|---|---|
| ๐งฑ HTML5 | Game structure and UI elements |
| ๐จ Core CSS | Styling, animations, responsiveness and visual effects |
| โก JavaScript | Game logic, sequence generation, user interaction and sound control |
Press any key to start the game.
The game will flash a button and play its corresponding sound.
Click the buttons in the exact same order.
If your sequence is correct, the game moves to the next level and adds another button to the pattern.
Make a mistake and the game ends.
Your score and game-over message will be displayed.
Try to remember the longest sequence possible and beat your previous score!
The game is powered by JavaScript and follows a simple sequence-based system:
Start Game
โ
Generate Random Button
โ
Flash Button + Play Sound
โ
Player Repeats Sequence
โ
โโโโโโโโโโโโโโโโโ
โ Correct Input โ
โโโโโโโโโฌโโโโโโโโ
โ
Increase Level
โ
Add New Button
โ
Repeat Pattern
โโโโโโโโโโโโโโโโโ
โ Wrong Input โ
โโโโโโโโโฌโโโโโโโโ
โ
Game Over
โ
Display Score
Simon-Game/
โ
โโโ ๐ index.html
โโโ ๐จ style.css
โโโ โก app.js
โ
โโโ ๐ assets/
โโโ desktop.jpg
โโโ mobile.jpg
|
โโโ ๐ sounds/
โ โโโ ๐ gamestart.mp3
โ โโโ ๐ gameover.mp3
โ โโโ ๐ levelup.mp3
โ โโโ ๐ buttonselect.mp3
โ
โโโ ๐ README.md
git clone https://github.com/saif_08/simonSay-game.gitcd simon-gameOpen index.html directly in your browser.
Or use VS Code Live Server for a better development experience.
Through this project, the following web-development concepts were practiced:
- DOM Manipulation
- JavaScript Event Handling
- Arrays & Randomization
- Game State Management
- Conditional Logic
- Functions
- Timers & Delays
- Audio Handling
- CSS Animations
- CSS Transitions
- Responsive Design
- User Interaction
- Dynamic UI Updates
Some features that could be added in the future:
- ๐ Persistent High Score
- ๐๏ธ Multiple Difficulty Modes
- โฑ๏ธ Speed-based challenges
- ๐ Theme selector
The main goal of this project was to combine JavaScript game logic with modern interactive UI effects to create a fun browser-based gaming experience.
๐ก Build. Play. Improve. Repeat.
MD SAIF
If you enjoyed this project, don't forget to show your support! โค๏ธ
โญ Star the repository ย ย ๐ด Fork the project ย ย ๐ Report an issue ย ย ๐ก Suggest an improvement
Every bit of support is appreciated! โค๏ธ

