The Memory Card Game is a fun and interactive web-based game developed using HTML, CSS, and JavaScript. Players flip cards to match pairs within a set time limit. The game offers customizable backgrounds and card colors, as well as limited hints to assist players in locating matching pairs.
- Time Limit: Set a custom time limit to complete the game.
- Customizable Appearance: Choose background and card colors.
- Hints: Hints reveal random card locations every 4 seconds.
- Responsive Design: Fully responsive on desktop and mobile devices.
Memory-Card-Game/
├── images/
│ ├── img-1.png
│ ├── img-2.png
│ ├── img-3.png
│ ├── img-4.png
│ ├── img-5.png
│ ├── img-6.png
│ └── que_icon.svg
├── index.html
├── style.css
└── script.js
- Set Time: Input the desired time limit (in seconds) and click the Submit button.
- Customize Appearance: Use the color pickers to select background and card colors, then apply changes by clicking the Apply Colors button.
- Start the Game: The game begins when you flip the first card.
- Flip and Match: Click on a card to flip it and try to find its matching pair.
- Hints: Every 4 seconds, a hint will reveal a random card for 0.5 seconds.
- Winning/Losing:
- Match all pairs within the time limit to win.
- Failing to match all pairs before the timer expires results in a loss.
- Clone the Repository:
git clone <repository_url> cd Memory-Card-Game
- Run the Game:
- Open the
index.html
file in any modern web browser.
- Open the
- Project initialized with the message:
Initial commit of Memory Card Game
- Branch: A new branch
feature/color-customization
was created to add the color customization feature. - Implementation: The feature was developed and committed to the
feature/color-customization
branch. - Merge: After successful testing, the branch was merged into the main branch.
The following entries are included in the .gitignore
file to exclude unnecessary files:
node_modules/
*.log
*.DS_Store
- Game Logic: Ensuring the timer and hint functionalities work seamlessly with the card flipping logic.
- Dynamic Customization: Implementing real-time color customization using JavaScript.
The project is available at the following link: Memory Card Game Repository
Thank you for checking out the Memory Card Game! Feel free to contribute or provide feedback.