Memory Game is a web-based game where players need to flip and match pairs of cards. It tests their memory and concentration skills. This project provides a simple implementation of the Memory Game using HTML, CSS, and JavaScript.
- Grid-based layout for displaying cards
- Flipping functionality to reveal the hidden side of the cards
- Matching logic to check if two flipped cards are a match
- Card styling with customizable front and back designs
- Win condition detection to determine when all cards are matched
To run the Memory Game locally on your machine, follow these steps:
- Clone the repository:
git clone https://github.com/Alain-Rene/memory-game.git - Navigate to the project directory:
cd memory-game - Open the
index.htmlfile in your web browser.
You can customize the game by modifying the following files:
- index.html: Update the card images, layout, or any other HTML elements as desired.
- style.css: Modify the styling of the game elements, such as colors, dimensions, and animations.
- script.js: Customize the game logic, add new features, or enhance the gameplay experience.
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
The Memory Game project is licensed under the MIT License.
This project was inspired by the classic Memory Game and is for educational purposes.
- HTML Tutorial: https://www.w3schools.com/html/
- CSS Tutorial: https://www.w3schools.com/css/
- JavaScript Tutorial: https://www.w3schools.com/js/
