Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Main #38

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Main #38

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# How to contribute

The files in this repository are used as the starting point for all students. Because we want students to write the majority of the code themselves, pull requests (most likely) will _not_ be merged into the project.
The files in this repository are used as the starting point for all students. Because we want students to write the majority of the code themselves, pull requests (most likely) will _not_ be merged into the project.
36 changes: 29 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,41 @@

## Table of Contents

* [About this game](#about)
* [Objective](#objective)
* [Instructions](#instructions)
* [Contributing](#contributing)
* [Rating](#rating)
* [Building](#building)
* Click [**here**](https://flipefrontdev.github.io/fend-project-memory-game/), and enjoy! 🎮

## About

Welome to the Matching Game!

It's a card game that is intended to test the memory of the players in order to improve it! So enjoy!

## Objective

The goal of this game is to find all pairs of each card with the least number of moves.

## Instructions

The starter project has some HTML and CSS styling to display a static version of the Memory Game project. You'll need to convert this project from a static project to an interactive one. This will require modifying the HTML and CSS files, but primarily the JavaScript file.
The player must find the pairs of scrambled cards.

To get started, open `js/app.js` and start building out the app's functionality
If a pair is found, the two cards will be opened, otherwise they will be flipped again.
The player can restart the game by clicking the reset button next to the timer. However, the cards will be scrambled again.

For specific, detailed instructions, look at the project instructions in the [Udacity Classroom](https://classroom.udacity.com/me).
## Rating

## Contributing
* 3 stars for finding all pairs in up to 16 moves;
* 2 stars for finding all pairs in up to 23 moves;
* 1 star by finding all pairs.

This repository is the starter code for _all_ Udacity students. Therefore, we most likely will not accept pull requests.
## Building

For details, check out [CONTRIBUTING.md](CONTRIBUTING.md).
* The deck of cards was structured and stylized with HTML and CSS;
* The deck was created with 16 cards - being 8 pairs - that are shuffled when starting or restarting the game via Javascript and jQuery;
* I created a motion counter that serves as the parameter for the performance rating of the player;
* I created a timer so that the player can know the time spent in the session played;
* I created a reset button so that the player can restart the game;
* I created a pop-up window that appears when the player finds all the pairs, informing the time spent and their classification.
Loading