Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 1.7 KB

README.md

File metadata and controls

33 lines (19 loc) · 1.7 KB

Memory game (exercise #05)

General

Fork this project to start the exercise.

This exercise is part of exercises repository found AT Exercises master repo

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

Something is not clear? Please open issue here: Open clarification issue

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. (set a variable to determine 1-star, 2-star and 3-star).
  • 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