Skip to content

bilouStrike/memory-game

Repository files navigation

Memory React App

Capture

This is a simple memory game built using ReactJS. The game involves flipping over cards and finding pairs of matching cards. Example Demo

Installation:

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

Game Rules:

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.

Technologies Used:

  • React/Typescript
  • Styled-component
  • bundler: vitejs

Customization

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

Contributing

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.

License

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published