MemoryMatch: The Card Matching Game is a simple web-based memory card game created using HTML, JavaScript, and CSS. In this game, players flip over cards to find matching pairs within a specified time and number of flips.
- Choose from different difficulty levels: Easy, Medium, and Hard.
- Timer to track the remaining time to complete the game.
- Keep track of the number of flips made.
- Sound effects for card flips, matches, and mismatches.
- Responsive design for different screen sizes.
You can play the game live at Demo Link
-
Clone this repository to your local machine.
-
Open the
index.html
file in your web browser to start playing the game.
-
When the game starts, choose a difficulty level from the dropdown and refresh to set the difficulty level.
-
Flip over the cards by clicking on them. Try to find matching pairs of cards.
-
The timer counts down, and you need to complete the game before time runs out.
-
You need to keep track of the number of flips made. Try to complete the game with as few flips as possible.
-
When you find a matching pair, they remain face up. If you make a mismatch, the cards shake briefly, and you need to try again.
-
The game is won when you successfully match all pairs or lost when time runs out.
You can customize the game by replacing the card images and sounds in the project directory. The JavaScript code allows for different levels of difficulty and can be adjusted as needed.
- Sound effects: Pixabay, Soundjay
- Card images: Maheswari Janarthanan, Green Valley Theatre
- Fonts: Google Fonts
This project is licensed under the MIT License - see the LICENSE.md file for details.