Skip to content

alenovaA/memory-card-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a small 2-player memory game in React:

  • When the game begins 20 cards (10 pairs) are placed randomly with the back side up.
  • A player chosen at random begins (it should be obvious whose turn it is).
  • When a player takes her turn she flips two cards:
    • If the cards are identical those cards are eliminated, the player earns a point and can continue with another turn.
    • If the cards are different they are turned back over and the next player can take her turn.
  • The game ends when all cards are taken (i.e. all pairs are found).
  • During the game it should be clearly displayed the number of points each player has.
  • After the game is finished it should be possible to start a new game.

 Illustration for the project

CLONE git clone [email protected]:alenova.a/memory-card-game.git cd memory-game

npm install --save

START npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published