Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memory Game

HTML CSS JavaScript

A simple, interactive memory game where players match pairs of cards within the fewest possible moves. The game is built with HTML, CSS, and JavaScript, providing an engaging user experience with animations and sound effects.

Table of Contents

Overview

This Memory Game is designed as a fun and educational project to sharpen cognitive skills, particularly memory retention and pattern recognition. The objective of the game is to match all pairs of cards with as few moves as possible, challenging players to remember the location of each card.

Features

  • Intuitive Gameplay: Click to flip and match pairs of cards.
  • Dynamic Animations: Enjoy smooth animations that enhance gameplay.
  • Score Tracking: Tracks the number of moves taken to complete the game.
  • Restart Option: Restart the game at any point to reset moves and start fresh.
  • Responsive Design: Works seamlessly across different screen sizes.

Gameplay

  1. Objective: Match all pairs of cards in the fewest moves possible.
  2. How to Play: Click on a card to reveal its symbol, then try to find its match among the other cards. If two selected cards match, they remain face-up; if not, they flip back.
  3. Winning: Complete the game by matching all pairs, and try to beat your previous score.

Technologies Used

  • HTML: Structure and layout of the game.
  • CSS: Styling and animations.
  • JavaScript: Game logic and interactivity.

Installation

  1. Clone the repository:
    git clone https://github.com/sachinaryan912/memorygame.git
  2. Navigate to the project directory:
    cd memorygame
  3. Open the game: Open index.html in your browser to start playing the game.

Usage

  • Launch the game by opening index.html in your preferred browser.
  • Click on any two cards to find matching pairs.
  • Track your progress with the displayed move count, and restart whenever desired.

Contributing

Contributions are welcome! If you would like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature (git checkout -b feature-name).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature-name).
  5. Open a Pull Request.

License

This project is open-source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages