An open API service indexing awesome lists of open source software.

https://github.com/subramaniyajothi6/flip-memory-game

Flip Memory Game โ€” A fun and responsive memory-matching card game built with HTML, CSS, and JavaScript (DOM).
https://github.com/subramaniyajothi6/flip-memory-game

css css3 html5 javascript memory-game responsive-design webgames

Last synced: about 1 month ago
JSON representation

Flip Memory Game โ€” A fun and responsive memory-matching card game built with HTML, CSS, and JavaScript (DOM).

Awesome Lists containing this project

README

          

# ๐ŸŽฎ Flip Memory Game

A classic memory matching game where players flip cards to find matching pairs. Built using **HTML**, **CSS**, and **JavaScript (DOM manipulation)**.

---

## ๐Ÿ“‹ Project Description

This game challenges the playerโ€™s memory skills by presenting a 4x4 grid of color-coded cards. Each time the game starts, the cards are shuffled and placed face down. Players must flip two cards at a time to find matching pairs. If a pair matches, it stays face-up. If not, both cards flip back after a short delay.

---

## โœ… Features

- Responsive 4x4 card grid layout
- Color pair matching logic
- Flip animations with smooth transitions
- Shuffle function to randomize card positions
- Restart button to reset the game at any time
- Built using pure HTML, CSS (no frameworks), and vanilla JavaScript (DOM manipulation)

---

## ๐Ÿ›  Tech Stack

- **HTML** โ€“ for page structure
- **CSS** โ€“ for styling and animation
- **JavaScript (DOM)** โ€“ for interactivity and game logic

---

## ๐Ÿš€ How to Run Locally

1. **Clone this repository**
```bash
git clone https://github.com/Subramaniyajothi6/memory-game.git
cd memory-game
```

2. **Open the game**
- Open `index.html` in any modern browser.

---

## ๐ŸŒ Live Demo

Visit the deployed version here:
**[https://flip-memorygame.netlify.app/](https://flip-memorygame.netlify.app/)**

---

## โ–ถ๏ธ How to Play

1. Click on any card to flip it.
2. Then click a second card.
3. If both cards match, they stay face-up.
4. If not, they flip back after a second.
5. Try to match all pairs to win!
6. Use the **Restart** button to play again.

---

## ๐Ÿ“ Folder Structure

```
memory-game/
โ”œโ”€โ”€ index.html # HTML structure
โ”œโ”€โ”€ style.css # Game styling
โ”œโ”€โ”€ script.js # Game logic using DOM
โ””โ”€โ”€ README.md # Project info
```

---

## ๐Ÿ“„ Terms and Conditions

- This project is for **assessment purposes** only.
- You are encouraged to **open-source** the project.

---

## ๐Ÿง  Author

**subramaniyajothi**
[GitHub Profile](https://github.com/Subramaniyajothi6)

---

Enjoy building and have fun matching! ๐ŸŽ‰