Skip to content

yoel7/exercise-05-memory-game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exercise-05-memory-game

Fork this project to start the exercise.

This exercise is part of exercises repository found AT https://github.com/YaakovHatam/exercises

If you finish the exercise you can request to add your repo here add a finished project

Rules

  • Cards are to be shuffled on load or restart
  • Code should know how to handle matched and unmatched cards

Extra medium

  • UI should display the current number of moves a user has made
  • The game should show a star rating (from 1–3) that reflects the player’s performance based on the number of moves made.
  • When a player starts a game, a displayed timer should also start and once the player wins the game, the timer stops.
  • A restart button should allow the player reset the game board, the timer, and the star rating.
  • A congratulations modal should appear when the player wins while showing a button to play again and modal should show: How much time it took, and star rating.

Extra hard

  • The game should be saved to local storage and when the player exit and retunrs he keep play from the same point he left.

Visual example

Memory game visual example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.8%
  • HTML 17.2%