Skip to content

MeckenS/fend-project-memory-game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Memory Game

How to play the game

Click on a block to reveal a hidden image. Click on another block to reveal it's image. If the second block is a matching image from the first block, they both will remain flipped showing the image. If not, they both will return to the original blank position. You will repeat this process until all images have been matched and are visible on the game board. Once all images have been matched and are visible on the game board, the game has been won.

What the user can expect from the game

  • Once the first block is clicked a timer will start to keep track of how long it takes you to complete the game.
  • You will receive a star rating based on how many moves it takes you to complete the game.
    • If you complete the game in 21 moves or less a 3 star rating will be received.
    • If you complete the game in 29 moves or less a 2 star rating will be received.
    • If you complete the game in 30 moves or more a 1 star rating will be received.
  • Once the game is completed a pop up will appear to congratulate you on completion of the game, tell you the time it took to complete, your star rating, and ask if you would like to play again.
  • The restart button can be clicked at anytime to completely restart the game and the images will be randomly placed in new locations.

Dependencies

  • Bootstrap
    • For the images
  • Google
    • For the fonts
  • There are no dependencies for the javaScript code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.2%
  • CSS 26.2%
  • HTML 13.6%