Skip to content
This repository was archived by the owner on Jun 8, 2020. It is now read-only.

SuciuCalin/memory-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matching Game Project

A card game in which all of the cards are laid face down, and two cards are flipped face up over each turn. The object of the game is to turn over pairs of matching cards.

Read more about Matching game and Concentration(game) on wikipedia.

The game

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.
  • The game ends once all cards have been correctly matched.

Installation

Clone or download this repository, and open the index.html file in your browser.

Or See it live.

How to play

Use the left mouse button to click on the cards.

You can start a new game anytime, by pressing the restart button or "n" on your keyboard.

Screenshots

matching-game

About

Matching Game Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published