Git Product home page Git Product logo

fend-project-memory-game's Introduction

Memory Game Project

Table of Contents

Instructions

Check out the game: https://andrewrogalamemorygame.surge.sh

Webpack has been added for development and optimized production build

Cypress.io has been added for testing

npm install

npm run dev

npm run build

npm run test

GamePlayRules

There are eight different pairs of cards on the grid, thus making a total of sixteen cards. The goal is to match all eight pairs in as few moves as possible. The moves are tracked and as the number of moves increases the star rating drops. The star rating is as follows: Less than or equal to fifteen (15) moves results in a three (3) star win Between sixteen (16) and twenty (20) moves results in a two (2) star win Over twenty (20) moves results in a one (1) star win

There is a cheat button on top which can be activated only once before any moves are made. The cheat will flash all cards for two seconds, but applies a penalty of two (2) moves.

FuturePlans

Increase the number of stars and adjust the rules of the game allowing the star rating to drop over time as well as when the number of moves increases.

Improve game statistics storage. Add player names and a leader board. The current version only tracks the previous play and resets every time the game is reopened.

Dependencies

Font Awesome https://fontawesome.com/ is used for all the Icons

Google Fonts is used for font family.

Alarm Clock font provided by https://www.dafont.com/alarm-clock.font Alarm Clock โ‚ฌ by David J Patterson

StopWatchModule.js is used for the timer function in the game StopWatchModule.js written by Andrew Rogala.

fend-project-memory-game's People

Contributors

arogala avatar richardkalehoff avatar

Watchers

James Cloos 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.