Giter Club home page Giter Club logo

memorygame's Introduction

Memory Game Project

Misk-Udacity Front-End Web Developer Nanodegree Second Project

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 tham 12.
  • ⭐️⭐️ If the moves are between 12 and 19.
  • ⭐️ If the moves are 20 or more.

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.

Dependencies:

memorygame's People

Contributors

sadeemnasser avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.