Skip to content

InbarDanieli/card-game

Repository files navigation

Card Game

Memory card matching game

Rules of the game

  • The goal is to collect the most pairs of cards.
  • The game starts with Shuffle cards, face down, in rows.
  • On each turn, a player turns over any two cards (one at a time), if the cards match, they will keep being open for the rest of the game.
  • If they successfully match a pair they get to keep the cards, and that player gets another turn.
  • When a player turns over two cards that do not match, those cards are turned face down again and it becomes the next player’s turn.
  • The trick is to remember which cards are where.
  • The person with the most pairs at the end of the game wins.

Godd luck! 😸



Running a development environment

Install all the needed dependencies by running:

npm install

To ran the local srever:

npm start

note:
if the server doesn't automatically open in your browser, open http://localhost:3000 to view it.

About

Memory card matching game for cat lovers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published