← Back to Purpose & Assignments

A14 — Game Project (Memory Match)

Memory Game

This assignment implements a JavaScript memory matching game based on the design from Assignment 13. The game supports a difficulty slider (up to 26 pairs), three card styles (emoji, text cards, and PNG cards), a timer, move counter, accuracy rating, stored best times using localStorage, and a leveling bonus system that rewards streaks of correct matches.

10

How to Play

  • Cards start face down. At the beginning of each game you get a brief preview, then the deck visibly shuffles.
  • Click on cards to flip them. You can flip two at a time.
  • If they match, they stay face up with a sparkle burst; if not, they flip back down.
  • Every correct match increases your streak bar. Get 3 matches in a row to earn a bonus. The first time this happens you get +1 free match, the next time +2, then +3, and so on.
  • Use the Bonus Match ✨ button to instantly clear multiple random pairs based on your saved charges.

Time: 0s

Moves: 0

Accuracy: 0%

Best Time: N/A

Bonus streak: 0/3
Next bonus level: 1 free matches for 3-in-a-row