Skip to content

wojtek-zajac/memory-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memory Game Project

Table of Contents

How The Game Works

The game board consists of sixteen "cards" arranged in a grid. The deck is made up of eight different pairs of cards, each with different symbols on one side. The cards are arranged randomly on the grid with the symbol face down. The gameplay rules are very simple: flip over two hidden cards at a time to locate the ones that match!

Each turn:

  • The player flips one card over to reveal its underlying symbol.
  • The player then turns over a second card, trying to find the corresponding card with the same symbol.
  • If the cards match, both cards stay flipped over.
  • If the cards do not match, both cards are flipped face down.

How to play

  • Game starts when you click on the deck.
  • The less moves you make, the better rating you get.
  • One card flip = one move.
  • Click on the re-do icon to start from scratch.
  • The game ends once all cards have been correctly matched.

Demo

https://wojtek-zajac.github.io/memory-game/

or

https://codepen.io/wojtek-zajac/full/zaBgYm/

Installation and Run

Clone/Download the repo and open index.html.

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published