In my Fend Udacity course, I had to create a memory game where upon clicked, two cards match and stay open. Once all cards are matched, a popup message appears and congratulates the tester for winning the game. The popup gives a score from 1 to 3, how much time it took, and how many moves it took to finish the game.
To see this project in action, go to Demo
-
Clone the following repo:
https://github.com/pbagastama/memory-game
-
Load index.html in browser.
-
Play the game
The goal is to match all the cards together and win the game.
-
Start by clicking on two cards, if they match, look for another pair of cards. If cards are not a pair, try again.
-
Keep matching up pairs until all cards are matched and faced up.
-
Congratulations, you win! An alert window appears tell you your score, time, and moves it took to complete the game. If there is an issue with a single card randomly paired, just hit the restart button on the top right corner of the game.
-
On the Alert window, you can hit 'Go Again!' to have another go at the game, keep playing for the best score and brag off to your friends.
-
Getting started Udacity excersize:
-
Images taken from Google-Images>Tools>Usage-Rights>Labeled for reuse with modification
MIT, check LICENSE.md for details.