A fun and interactive Simon Says memory game built using HTML, CSS, and JavaScript. The game generates a growing sequence of colors, and the user must repeat the pattern correctly to level up. One mistake ends the game and displays your final score. This project is great for beginners learning DOM manipulation, game logic, and event handling.
- Generates a random color sequence each level
- User must repeat the exact pattern
- Flash animation for game buttons
- Visual feedback for user clicks
- “Game Over” screen and score display
- Beginner-friendly JavaScript implementation
- index.html # Page structure
- style.css # Game styling and colors
- app.js # Game logic and event handling
- Handling keyboard and click events
- Managing arrays for game and user sequences
- Using
setTimeoutfor animations - DOM manipulation (text updates, styles, classes)
- Game logic (levels, reset, checking sequence)
- Open the game in your browser.
- Press any key to start.
- Watch the tile that flashes.
- Click the tiles in the same order.
- Each correct round increases the level.
- A wrong click ends the game and shows your score.
- Level increases:
Level 1 → Level 2 → Level 3 → ... - Flashing tiles guide the user.
- One mistake shows:
Game Over! Your Score is X
- Clone or download the repository:
git clone https://github.com/shanusingh01/simon-says-js.git
- Open index.html in any browser.
- Play & enjoy the challenge!
This project is free to use for learning and practice.
