This is a simple web-based memory-matching game implemented in HTML, CSS, and JavaScript.
Matching Game is a classic memory game where the player is presented with a grid of cards, each containing an image. The goal is to find pairs of matching cards by flipping them over two at a time. The game is won when all pairs have been successfully matched.
- 8 pairs of cards for a total of 16 cards.
- A countdown timer to add a challenge.
- A "You won!" message when all pairs are matched.
- A "Play Again" button to reset the game.
- A "Reset" button to restart the game at any time.
- Click on a card to reveal its image.
- Click on another card to see if it matches the first card.
- If the two cards match, they will remain face up.
- If the two cards do not match, they will be flipped face down again.
- Continue until all card pairs are matched.
- If the timer runs out before all pairs are matched, you lose the game.
-
Clone the repository to your local machine:
git clone https://github.com/Qassab/Matching-Game.git