Memory Game

The Memory Game is a web-based card-matching game. The gameplay and rules may have some similarities to the card game Concentration. […]

The Memory Game is a web-based card-matching game. The gameplay and rules may have some similarities to the card game Concentration. However, this web-based game uses JavaScript and the DOM to run a simple game loop, generate and shuffle cards on the deck, handle events, and implement player moves and game timers.

The live project is available here. A modern web browser with JavaScript enabled is required. No other dependencies are necessary to run this game.

How to play

A deck is made up of 16 cards. All cards have a matching pair hidden somewhere in the deck. The game and its timer start when a player clicks on a card to flip it open. Each opened pair counts as a single move. The less moves a player makes, the greater their final star rating ⭐ ⭐ ⭐ will be. Find all matching pairs to win the game! 😎

Resources

This project uses the following guides and libraries:


View Memory Game Project on GitHub.

Scroll to Top