This is an interactive Simon Says game built using HTML, CSS, and JavaScript. The game challenges players to repeat a sequence of colors generated by the system, increasing in difficulty with each level. It includes a leaderboard to track top scores.
- Learn Game Development: Gain experience in creating a simple browser-based game.
- Enhance JavaScript Skills: Implement logic for sequence generation, user input, and score tracking.
- Practice CSS Styling: Design a visually appealing interface with color-based buttons and responsive elements.
- Color Sequence Game: Players must replicate the random color sequence displayed by the game.
- Level Progression: Increases difficulty with each correct sequence.
- Flash Effects: Visual feedback with white and aqua flashes for game and user actions.
- Leaderboard: Tracks and displays the top 5 scores with player names.
- Game Reset: Allows restarting after a game over with any key press.
simon_game/ ├── index.html # Main HTML file ├── simon.css # Main stylesheet └── simon.js # JavaScript logic
- HTML5: For structure and semantic markup.
- CSS3: For styling, including Flexbox and custom button designs.
- JavaScript: For game logic, event handling, and dynamic updates.
- Press any key to start the game.
- Watch the sequence of flashing colors (red, yellow, green, blue).
- Click the buttons in the same order as the sequence.
- Continue as the sequence length increases with each level.
- Game over if you miss a sequence—enter your name to save your score on the leaderboard.
- Press any key to restart.
- Clone the repository:
git clone <your-repo-url>/simon_game.git - Navigate to the project folder:
cd simon_game - Open
index.htmlin a web browser to play the game.
- Sound Effects: Add audio cues for each color.
- Multiplayer Mode: Allow competition between players.
- Persistent Leaderboard: Save scores locally or via a backend.
- Responsive Design: Optimize for mobile devices.
If you enjoyed this project or want to collaborate:
- GitHub: sidharthcodes-arch
- Inspired by the classic Simon Says game.
- Thanks to Apna College for guidance in building this project.
If you find this project useful, please consider starring the repository! ⭐
