- How The Game Works
The game board consists of sixteen virtual cards arranged in a grid. The deck is made up of eight different pairs of cards, each with different symbols on one side. The cards are arranged randomly on the grid with the symbol face down. The gameplay rules are very simple: flip over two hidden cards at a time to locate the ones that match!
Each turn:
The player flips one card over to reveal its underlying symbol.
The player then turns over a second card, trying to find the corresponding card with the same symbol.
If the cards match, both cards stay flipped over. If the cards do not match, both cards are flipped face down.
The game ends once all cards have been correctly matched.
The goal of the game is to match all the cards in the least moves & time possible.
- Rating
0 - 15 moves : Three stars
16 - 23 moves : Two stars
24+ : One star
To read the instructions in the game, press the "How to play" button.
You can play the game here: https://dimikara.github.io/Memory-Game/.
The game is built with HTML, CSS, & Javascript.
I also used Sweetalert2 for the popup that appears in the end of the game.
- The game on PC
- The instructions that appear when pressing "How to Play" button
- The game on mobile
- The end modal
-
The webinar with Yahya Elharony during FEND Study Jam was pretty helpful for me to understand the dynamics & structure of the game. I was able to build the base and then move up from there.
-
For more info on Sweetalert2 & how it is used, see: https://sweetalert2.github.io/
-
Font: Mina
-
Icons: Font Awesome Icons
MIT License.
Copyright (c) 2018 Dimitra Karamperi