This is a simple memory game built using ReactJS. The game involves flipping over cards and finding pairs of matching cards. Example Demo
1- Clone the repository to your local machine using the following command:
git clone https://github.com/bilouStrike/memory-game.git
2- Navigate to the project directory:
cd memory-game
3- Install the required dependencies:
npm install
4- Once the dependencies are installed, start the application with the following command:
npm run dev
The objective of the game is to find all the matching pairs of cards. Here are the rules:
- Click on a card to reveal its symbol.
- Click on another card to reveal its symbol.
- If the symbols on the two cards match, they will remain face-up.
- If the symbols on the two cards do not match, they will be flipped back face-down.
- Continue flipping cards until you find all the matching pairs.
- React/Typescript
- Styled-component
- bundler: vitejs
You can customize the game by modifying the source code. Here are a few possible modifications:
- Card Symbols: Modify the symbols used on the cards by changing the values of the symbol properties in src/memoryGame/generateNewCard.ts
Contributions to the Sudoku React App are always welcome! If you find any issues or want to add new features, please feel free to submit a pull request.
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Push your changes to your forked repository.
- Submit a pull request.
This Memory-game React App is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.