Skip to content

vraj-712/Card-Memory-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Card Memory Game 🎯 🧠

A fun and interactive card memory game built with JS. The objective is to match all pairs of cards by remembering their positions on the board. The Card Memory Game is a classic, interactive matching game that challenges players' memory and concentration skills. In this game, a set of cards are laid face-down on a grid. Each card has an identical pair hidden somewhere else on the board. The player’s goal is to reveal and match all pairs of cards by remembering their positions.

Features

  • Flip cards to reveal images.
  • Match pairs of cards to win the game.
  • Track the number of moves and time taken.
  • Restart the game at any time.
  • Responsive design for desktop and mobile devices.

Installation

  1. Clone the repository:
     
    git clone https://github.com/vraj-712/Card-Memory-Game.git
     
  2. Run the Project
     
    # Just double click on .html file and now you are set
     

Usage

  • Flip two cards by clicking on them.
  • If they match, they remain face up.
  • If they don’t match, they flip back over.
  • Repeat until all pairs are matched.
  • Track your moves and try to improve your score each game!

Gameplay

  • Objective: Match all pairs of cards in as few moves as possible.
  • Rules:
    • Click on two cards to flip them.
    • If the cards match, they will remain visible.
    • If they do not match, they will flip back after a short delay.
    • The game ends when all pairs are matched.

Tech Stack

Contributing

  • Fork the repository

  • Create your feature branch

     
    git checkout -b feature/NewFeature
     
    
  • Commit your changes

     
    git commit -m 'Add NewFeature'
     
  • Push to the branch

     
    git push origin feature/NewFeature
    
    
  • Open a Pull Request

License

  • This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

  • Thanks to the open-source community for their support and contributions!