{"id":15524712,"url":"https://github.com/hellofromtonya/beat-the-clock-memory-game","last_synced_at":"2026-05-09T14:38:23.959Z","repository":{"id":98370087,"uuid":"103081328","full_name":"hellofromtonya/beat-the-clock-memory-game","owner":"hellofromtonya","description":"Beat the Clock Memory Game","archived":false,"fork":false,"pushed_at":"2017-09-18T14:09:18.000Z","size":120,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T06:37:56.732Z","etag":null,"topics":["css3","es6-javascript","javascript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hellofromtonya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-11T02:38:07.000Z","updated_at":"2017-09-14T22:37:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"589b42ed-c363-4118-89b2-9ab5e4b26139","html_url":"https://github.com/hellofromtonya/beat-the-clock-memory-game","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"94900818b3d782cd7006e2d42adeb7484ad0a4e7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellofromtonya%2Fbeat-the-clock-memory-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellofromtonya%2Fbeat-the-clock-memory-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellofromtonya%2Fbeat-the-clock-memory-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellofromtonya%2Fbeat-the-clock-memory-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellofromtonya","download_url":"https://codeload.github.com/hellofromtonya/beat-the-clock-memory-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246100486,"owners_count":20723469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css3","es6-javascript","javascript"],"created_at":"2024-10-02T10:52:48.995Z","updated_at":"2026-05-09T14:38:23.927Z","avatar_url":"https://github.com/hellofromtonya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Beat the Clock Memory Game\n\nThis game tests your memory and challenges you to match the cards in as few moves as possible before the game clock runs out.\n\nYou can play the game in your browser by [clicking here](https://rawgit.com/hellofromtonya/beat-the-clock-memory-game/master/index.html).\n\n## How to Play\n\n[Click here](https://rawgit.com/hellofromtonya/beat-the-clock-memory-game/master/index.html) to load the game into your browser.\n\nThe key to the game is to remember the card symbols and match the pairs in as few tries (moves) as possible.\n\nDo the following:\n\n- The player flips one card over to reveal its underlying symbol.\n- The player then turns over a second card, trying to find the corresponding card with the same symbol.\n    - If the cards match, both cards stay flipped over.\n    - If the cards do not match, both cards are flipped face down.\n- Repeat until all cards are matched or the clock runs out.\n\n## Game Overview\n\nThe game consists of a deck with 8 matching pairs of cards, i.e. for a total of 16 cards.  At the start of a new game, the following happens:\n\n- Player statistics are reset, except for the level.\n- The Card Symbols array is shuffled, i.e. to add more variation between games.\n- 8 card symbols are selected and then doubled.\n- The new deck is shuffled.\n- Each card's symbol is updated in its respective `card` object.\n\nOnce the player clicks on a card, the game clock starts counting down in seconds.  During play, the player selects a pair of cards.  The game checks if the pair's symbols match. \n\n- If yes, the following happens:\n    - the cards are animated to visually alert the player of the match\n    - points are awarded\n    - the cards remain face up\n    \n- If no, the following happens:\n    - the cards are animated to visually alert the player of the mismatch\n    - points may be deducted for consecutive misses\n    - cards turned face down again\n    - a star may be removed\n    \n### Scoring\n\nThe game scores based upon the player's performance. Score is managed in the `PlayerModel` and is configurable.\n\n- The player wins points when:\n    - Matching a pair of cards awards 100 points\n    - Matching consecutive pairs of cards awards 1000 x the number of consecutive matches (progressive scoring)\n\n- When the player has 3 or more consecutive matches, a 10,000 point bonus is awarded.\n- When missing 3 consecutive times, the player loses 1,000 points.\n\n### How to Level Up\n\nThere are multiple levels in this game.  A player can level when:\n\n- wins the game before the clock times out\n- wins with no more than the required number of moves\n- achieves the minimum score\n- wins with the required number of stars\n\nAll of the above are configurable.\n\n## Credits\n\n- CSS keyframes and animation are from [animate.css](https://github.com/daneden/animate.css) by [Daniel Eden](https://github.com/daneden)\n\n## Disclaimer\n\nThis repository is for the Memory Match Game Project, which is part of the [Udacity Front-End Web Developer Nanodegree](https://www.udacity.com/course/front-end-web-developer-nanodegree--nd001) program.\n\nThis repository is not for general use, but rather an exercise as part of an education program.\n\nCheers and \u0026lt;happy coding\u0026gt;,    \nTonya","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellofromtonya%2Fbeat-the-clock-memory-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellofromtonya%2Fbeat-the-clock-memory-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellofromtonya%2Fbeat-the-clock-memory-game/lists"}