Smit Topiwala

Logo

Memory Card Matching Game

Built an interactive memory card game during the Udacity Front-End Web Developer Nanodegree. Players match pairs of cards in the fewest moves and shortest time to earn a higher star rating.

Tools: HTML, CSS, JavaScript
Play live: CodePen
Repo: GitHub


How to Play

  1. Click two cards to flip them — if they match, they stay open
  2. If they don’t match, try again (cards are shuffled randomly)
  3. Star rating depends on the number of moves
  4. Game ends when all pairs are matched — an alert shows your score, time, and moves
  5. Hit Restart anytime, or Go Again! after winning

Demo