Skip to content

LinaLtu/fend-project-memory-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memory Game Project

This project has been completed in vanilla JavaScript, no dependencies or libraries used.

Instructions

Memory Game is a virtual card game. On load, a user sees a deck with 16 covered cards. When the user clicks a card, it opens. Then the user opens another card. If the icons match, both cards remain open. If not, they are closed again. The goal of the game is to find all matching cards and open them as quickly as possible.

Measurement of Success

When the first card is opened, a timer starts running. With every move, a counter is increased. After three unsuccessful trials, one star is removed from the score deck. The user can restart the game at any time by clicking "reset" icon on the right hand corner of the deck. When all cards are opened and the game is over, the user gets a notification with information on how much time it took for them to complete the task, how many moves they made and how many stars they have remaining. Then they can restart the game again.