- Important Note: the most up-to-date version of this project can be found in the branch vite.
- Every turn, you must choose 1 card among a group of them; you can choose anyone you like.
- Once you pick one, all the cards get shuffled, including the picked one.
- You must choose another card that is different from the previous one.
- Once a card is selected, the player can't select it again during the rest of the game.
- If you repeat a card, you lose.
Check the live demo and play here.
To run the project:
- Donwload the repository
https://github.com/iaaron-xyz/memory-game.git
- Move to the downloaded folder
cd memory-game
- Install the necessary dependencies listed in
package.json
npm install
- Run the project in development mode
npm run start
- Open the project in http://localhost:3000.