Hey everyone!๐
I'm excited to share my latest project: Simon Says JS โ a colorful memory game built using pure HTML, CSS, and JavaScript. ๐จ๐ง
In this post, I'll walk you through the project overview, key features, and how you can try it out!
Project Overview
The Simon Says game is a classic memory challenge where you need to repeat an increasingly long sequence of colors correctly.
I built a modern, mobile-responsive version from scratch to sharpen my front-end skills like:
- DOM manipulation
- Event handling
- CSS animations
- Game logic building
Live Demo:
Source Code:
๐ GitHub Repository
๐ ๏ธ Features
- ๐จ Colorful animated buttons
- ๐ Dynamic level progression
- ๐ Button click sounds and Game Over sounds
- ๐ High score tracking with LocalStorage
- ๐ฑ Fully mobile responsive
- โจ Smooth transitions and UI animations
- ๐ฅ๏ธ Clean design with modern fonts and gradient backgrounds
๐ฎ How to Play
- Press the Start button to begin the game.
- Watch carefully as the game flashes a random color.
- Click the colored buttons in the same sequence shown.
- Each new level adds one more color to the sequence.
- If you make a mistake, it's Game Over โ your score and High Score will be displayed.
- Press Start again to try and beat your High Score! ๐
๐ธ Sneak Peek (Screenshots)
๐ Tech Stack Used
- HTML5 โ for structure
- CSS3 โ for styles, responsive layout, transitions
- JavaScript (Vanilla) โ for game logic and user interaction
- Google Fonts โ for modern typography
- LocalStorage API โ to save High Scores
โจ Challenges and Learning Points
- Handling real-time event listening for multiple buttons
- Managing sequence arrays and checking user input dynamically
- Adding smooth CSS transitions for better UX
- Working with LocalStorage to persist data across browser sessions
- Making the page fully responsive for mobile screens
๐ Future Improvements
- ๐ฎ Add difficulty levels (Easy, Medium, Hard)
- ๐ Add background music with mute/unmute button
- ๐ Create a leaderboard system
- ๐ฑ Make it a Progressive Web App (PWA) for offline play
- โจ Add new bonus game modes like "Reverse Simon"
๐ Final Thoughts
Building Simon Says JS was a great way to practice and apply front-end skills, especially DOM manipulation and game logic.
I'm really proud of how polished and mobile-friendly it turned out!
I'd love your feedback and ideas for future upgrades! ๐
If you like it, feel free to โญ the GitHub repo!
Thanks for reading! ๐
๐ Challenge your memory now: Play Simon Says JS!
Top comments (0)