Skip to content

lucia-gm/memory-game

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
 
 
img
 
 
js
 
 
 
 
 
 
 
 
 
 

Memory card game

Memory game based on matching pairs of cards.

View online demo

Preview

Project Overview

The project is part of the Udacity Front-End Nanodegree and here is the starter code. It is provided some HTML and CSS styling to display a static version of the Memory Game project. I have to convert this project from a static project to an interactive one. This required modifying the HTML and CSS files, but primarily the JavaScript file, as only the shuffle cards function is provided. I have included sound and cards animations.

How to play

There are 16 cards on a deck, click on the cards to reveal icons and see if you find a match.

If the cards match, they will remain open. If they don't match, they will flip over. Try again until you find the 8 matches.

You can play here.

Rating

The rating is base on the number of moves made to complete the game:

  • Less than 16 moves, you will receive a 3 stars.
  • Between 16 and 25, you will receive a 2 stars.
  • More than 25, you will receive a 1 stars.

Credits

License

MIT License

Copyright (c) 2018 Lucia Gonzalez Moscoso

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

An addictive game based on the popular matching pairs of cards, responsive and mobile-ready

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published