YR3 / classical-memory-game

The Classic memory cards game.

Home Page:https://yr3.github.io/classical-memory-game/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Memory Game Project V1.0

Table of Contents

General

Udacity Front-End Developer Nanodegree Second Project

game-overview

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: open two hidden cards at a time to locate the ones that match!

Each turn:

  • The player opens one card over to reveal its underlying symbol.
  • The player then opens a second card, trying to find the corresponding card with the same symbol and that will be counted as one move.
  • If the cards match, both cards stay opened.
  • If the cards do not match, both cards are closed again.

The stars rating depends on the number of moves:

  • ⭐⭐⭐ If the moves are less than 16.
  • ⭐⭐ If the moves are less than 24.
  • ⭐ If the moves are less than 26.
  • ☹ If the moves are more than 27.

The game ends once all cards have been correctly matched. The player could restart the game at any time by clicking on the restart icon.

Resources

About

The Classic memory cards game.

https://yr3.github.io/classical-memory-game/


Languages

Language:JavaScript 50.0%Language:CSS 29.0%Language:HTML 21.1%