Skip to content

RayanBatada/card-matching-game

Repository files navigation

Card Matching Game

Welcome to the Card Matching Game, an exciting and interactive browser-based game where you test your luck and score points by matching cards based on their rank, suit, or color. This project was built using React, styled with CSS, and offers an intuitive, responsive design.

Features 🚀

  • Dynamic Gameplay: Draw cards, and score points for matching rank, suit, or color.
  • Deck Shuffling: Cards automatically shuffle when the deck runs out.
  • Visual Appeal: Custom card designs (from Figma, background images, and responsive layout for a smooth user experience.
  • Live Feedback: Real-time updates on matches, scores, and game status.
  • Cooldown Mechanism: Prevents spamming the draw button for smoother gameplay.

How to Play 🕹️

  1. Start the Game: Open the app in your browser.
  2. Draw Cards: Click the Draw Cards button to reveal two cards.
  3. Score Points:
    • Match cards by their rank, suit, or color to earn points.
  4. Shuffle the Deck: Click the Shuffle button to reshuffle the deck if you’d like.
  5. Restart Anytime: Use the Restart button to reset the game and score.

Built With 🛠️

  • Frontend: React, TypeScript
  • Styling: CSS (with Bootstrap)
  • Version Control: Git and GitHub

Installation 🖥️

To run the game locally on your machine:

  1. Clone the Repository:
    git clone https://github.com/RayanBatada/card-matching-game.git
    cd card-matching-game

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors