A fun memory matching game where you find pairs of similar pictures using pure JavaScript.
MisaLala is a classic memory card game built with HTML, CSS, and JavaScript. Players flip cards to reveal images and match pairs. The game features multiple levels with increasing difficulty, score tracking, and a clean, responsive design. The codebase has been modernized using ES6+ JavaScript with a consolidated, modular structure.
- Open
index.htmlin your web browser. - Click on cards to flip them and reveal the images.
- Find matching pairs by remembering the positions.
- Complete all pairs in a level to advance.
- Try to achieve the highest score possible!
- Multiple Levels: Start with Level 1 and progress through Level 2 and Level 3.
- Score Tracking: Your score is saved using localStorage.
- Responsive Design: Works on desktop and mobile devices.
- Modern JavaScript: Uses ES6+ features and modular code.
- Clone the repository:
git clone https://github.com/duynlk/misalala.git - Navigate to the project directory:
cd misalala - Open
index.htmlin your preferred web browser.
No additional dependencies required!
- HTML5
- CSS3 (Flexbox/Grid)
- Pure JavaScript
index.html: Home page with level selectiongame.html: Dynamic game page for all levels (uses URL parameters like?level=1)script/Game.js: Consolidated game logic for all levelsstyle/: CSS stylesheetsimg/: Game images
Feel free to fork the repository and submit pull requests. Suggestions for new features or improvements are welcome!
This project is open source. See LICENSE for more details.
