memory game project for the front-end web developer nanodegree at udacity
You can either visit the page here https://hal-9.github.io/memory-game/ or clone/download a local version to your computer to run it by opening the index.html file in your browser.
- upon the first click on a card a timer starts that keeps track of the time the player needs to finish the game
- every pair of cards opened counts as a move, which is displayed for the player
- depending on the amount of moves a star rating is shown (3 being highest, 0 being lowest)
- matching cards stay open and change color
- if all cards are matched the game ends and a modal appears
- the modal summarizes all player stats and gives the option to start a new game
- the game was built utilizing event delegation, working with browser events and manipulation of the DOM.
- written with care for clean, readable and responsive code