Skip to content

luis-octavius/memory-card

Repository files navigation

Memory Game - React + Vite

Memory Card Game

A simple and fun memory card game built with React and Vite. Test your memory by clicking cards without selecting the same one twice!

Features

  • 12 unique cards: Each card has a distinct design.
  • Game logic: You cannot click the same card more than once.
  • Random shuffling: Cards shuffle randomly after each click.
  • Score counter: Track how many cards you’ve clicked correctly in a row.

Technologies

React Vite JavaScript CSS

How to Play

  • Click any card to start.
  • Remember which cards you’ve already clicked.
  • After each click, the cards shuffle.
  • If you click a card twice, the game resets.
  • Try to beat your high score!

Installation & Setup

To run this project locally:

Clone the repository:

git clone https://github.com/your-username/memory-card.git  

Navigate to the project folder:

cd memory-card  

Install dependencies:

npm install  

Start the development server:

npm run dev  

Open your browser at http://localhost:5173 (or the port shown in the terminal).

Contributing

  1. Contributions are welcome! Follow these steps:
  2. Fork the project.
  3. Create a feature branch (git checkout -b feature/AmazingFeature).
  4. Commit your changes (git commit -m 'Add some amazing feature').
  5. Push to the branch (git push origin feature/AmazingFeature).
  6. Open a Pull Request.

License

Distributed under the MIT License.

Contact

Luis Octavio - luisoctavius.sc@gmail.com

Project Link: https://github.com/luis-octavius/memory-card

About

Saint Seiya Memory Card game with React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published