Memory game is a card game in which all of the cards are laid face down on a surface and two cards are flipped face up over each turn. The object of the game is to turn over pairs of matching cards.
- Made as a part of Udacity's Intro to Programming Nanodegree (IPND).
- Uses starter code provided by Udacity to assist with HTML, CSS, and shuffle function
Open index.html
and click in one beautiful squared card to init your Memory Game, or click on the link below to see the live version of the game.
Every two card flipped up, counts one movement. The less movements you make the better your score and hability are.
The game starts automatically upon page load. Click the cards to reveal them. The goal is to reveal cards two at a time to match the pairs. The game ends when all pairs are revealed.
- Download or clone the repository on your machine.
- Extract the .zip file
- Open index.html in your browser.
OR Click on this LINK to see the live version of the game .
3 stars = 8 moves or less
2 stars = 16 moves or less
1 star = 17 moves or more
Expect a fun way to exercise your memory when you win and a congratulatory modal showing your game data such as:
- Star rating
- Total time spent in the current session
- Total movements made in the current session
- shuffle function from stackoverflow