This game is built with HTML, SASS, CSS, and JavaScript.
RULES OF THE GAME: Flip the cards to match them with their pair.
EXPECTATIONS OF THE GAME:
- Cards will flip once they are clicked.
- If two cards match, clicking on a third card will be disabled for a few seconds.
- The game will check whether all cards have been matched.
- Cards will be unflipped when there is no match.
- The cards will be reset after each round.
- Cards will be shuffled immediately after their function declaration.
- If all cards are matched, a pop-up message will notify the player that they have won.
- When clicking on the restart button, cards will be unflipped and start the game again.
FUTURE ADDITIONS:
- Timer could be added.
- A losing scenario and a pop-up message for that.