Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

Front End Web Development project: Memory Game

License

Notifications You must be signed in to change notification settings

sripwoud/memory-game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memory Game Project

This is a matching game where you have to find all the pairs.

Get started

Play the online version

Here

Play locally

  1. Clone repo or download manually files
  2. Load index.html in your browser

How to play

The game starts (including timer) as soon as you load the page.
The cards are displayed for 8 seconds. Try to memorize them as best as you can.
Then you have to click on a first and a second card.
If your 2 selected cards match, they are left shown. Otherwise they are hidden again.
Once you have matched all the cards, your final score and the time you needed to complete the game are displayed.
You can restart the game anytime in clicking on the restart button.

Sources

Starting Code including HTML and CSS to display a static version of the game.
Shuffle function
Timer
Modal

Dependencies

font-awesome

Languages

  • JavaScript 45.5%
  • CSS 27.6%
  • HTML 26.9%