In this project, we’ll build a popular online memory game where the goal is to level up our memory. We’ll be asked to fill in the missing code snippets and gradually create segments of the memory game.
At the start of the game, we’ll have the Educative icon depicted on these cards, and a turn counter to keep track of the number of turns. Players have to click on the cards to flip them and find all the matching pairs. If the clicked cards are not the same, they will be flipped back, and the turn counter will be incremented by 1.
Once the game is complete, we can also reset it using the “New Game” button to reshuffle all the cards and set the turn counter back to 0. We need to win the game within 15 turns.
The gif below shows the final layout of the website: