/card-memory-game

Card memory is a game where you have to click on a card to see what icon is underneath it and try to find the matching icon underneath the other cards.

Primary LanguageJavaScript

Play Game Card Memory Game.

Description

Card memory is a game where you have to click on a card to see what icon is underneath it and try to find the matching icon underneath the other cards.

User Stories

  • User can see a grid with 4 x 4 cards. All the cards are faced down initially (hidden state)
  • User can click a button to start the game. When this button is clicked, a timer will start
  • User can click on any card to unveil the image that is underneath it (change it to visible state). The image will be displayed until the user clicks on a 2nd card

When the User clicks on the 2nd card:

  • If there is a match, the 2 cards will be eliminated from the game.
  • If there isn’t a match, the 2 cards will flip back to their original state (hidden state)
  • When all the matches have been found, the User can see a dialog box showing a Congratulations message.