This project was bootstrapped with Create React App.
This game Require 2 player to play with, matching the card as much as you can is the main purpose of this game. In the project directory, we use react as the frontend framework && tailwind as the css framework. We also use Eslint as javascipt linter.
- Game starts with the Player one.
- each player need to matching 2 card to get points.
- If the cards don’t match (it’s not a pair), current Player turns them back over and it’s then the turn of next Player to turn over two new cards..
- However, if the two cards match, it’s a pair! The respective player keeps the cards and has the right to play again.
- Game will end if the whole card are opened
- The player who has the most points is the winner
- If Player One has the same points as Player Two, the result will be Draw
- Clone or copy this repository to server/local.
- Make sure you have Node.js installed on your server/local.
- open your server/local repository in terminal.
- run "yarn start" or "npm run start" to start the game.
There's a bug where if you click the card really fast, it will turn the matching card autmaticly, so do not do that to make sure you Have Fun!!:)