Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dikshitadas/2048


https://github.com/dikshitadas/2048

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# ๐ŸŽฎ 2048 Game

Welcome to the classic **2048 Game** built using **HTML**, **CSS**, and **JavaScript**! ๐Ÿš€ Test your logic and number-crunching skills in this addictive puzzle game. Try to reach the 2048 tile! ๐ŸŽฏ

![Game](https://img.shields.io/badge/2048-Game-blue)
![HTML5](https://img.shields.io/badge/HTML5-%23E34F26.svg?&style=flat&logo=html5&logoColor=white)
![CSS3](https://img.shields.io/badge/CSS3-%231572B6.svg?&style=flat&logo=css3&logoColor=white)
![JavaScript](https://img.shields.io/badge/JavaScript-%23F7DF1E.svg?&style=flat&logo=javascript&logoColor=black)

## ๐Ÿ“ About
**2048 Game** is a single-player sliding block puzzle game written in **HTML**, **CSS**, and **JavaScript**. The objective is to combine tiles with the same numbers, doubling them, until you reach the **2048 tile**. Each turn, a new tile randomly appears in an empty spot on the grid, with a value of either 2 or 4.

## ๐Ÿš€ Features
- ๐ŸŽฎ Simple gameplay thatโ€™s easy to learn, hard to master
- ๐Ÿง  Sharpen your strategy and number skills
- ๐Ÿ–ผ๏ธ Beautiful UI with smooth animations
- ๐Ÿ“ฑ Responsive design โ€“ play on any device!

## ๐Ÿ“ฆ Installation

### 1. Clone the Repository
```bash
git clone https://github.com/DikshitaDas/2048.git
cd 2048
```

### 2. Open `index.html`
Simply open the `index.html` file in your browser to start playing the game. No additional dependencies are required.

## ๐Ÿ“– How to Play

- Use the arrow keys on your keyboard to move tiles.
- When two tiles with the same number collide, they merge into one.
- Try to get to the **2048 tile** without running out of moves!

![2048 Screenshot](https://img.shields.io/badge/Screenshot-2048Game-yellow)

## ๐Ÿ›  Technologies Used

| Technology | Logo |
|-------------|------|
| **HTML5** | ![HTML5](https://img.shields.io/badge/HTML5-%23E34F26.svg?&style=flat&logo=html5&logoColor=white) |
| **CSS3** | ![CSS3](https://img.shields.io/badge/CSS3-%231572B6.svg?&style=flat&logo=css3&logoColor=white) |
| **JavaScript** | ![JavaScript](https://img.shields.io/badge/JavaScript-%23F7DF1E.svg?&style=flat&logo=javascript&logoColor=black) |

## ๐Ÿค Contributing

Contributions are welcome! If you'd like to improve the game or fix any issues:

1. Fork the repository ๐Ÿด
2. Create your feature branch (`git checkout -b feature/amazing-feature`) ๐Ÿšง
3. Commit your changes (`git commit -m 'Add some amazing feature'`) ๐Ÿ“
4. Push to the branch (`git push origin feature/amazing-feature`) ๐Ÿ“ค
5. Open a pull request ๐Ÿ“ฌ

## ๐Ÿ“„ License

This project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for more details. ๐Ÿ“ƒ