Skip to content

Joggz/Memory-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Memory-Game

What is the Memory Game

This is a simple game built to test users memory. There's a deck of cards with different icons.

How to Play

Load this link in your browser https://joggz.github.io/Memory-Game/

Instruction

  • Click on card
  • Keep revealing cards and working your memory to remember each unveiled card.
  • Match cards with less moves and in faster time

How I built the Memory Game

I manipulated the DOM with Vanilla JS, added and altered part of the HTML and did some styling.

  • created the board for the cards
  • created a deck of cards that shuffles when the game is refreshed
  • created a counter for the number of move made by the player and also a timer which starts counting on the first move
  • added a match and unmatch function which determine if the flipped cards remains opens or not;
  • create a pop-up modal when player wins the game.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published