https://github.com/ehsan-habibagahi/2048
🕹️ Terminal game | A minimal clone of famous 2048 game
https://github.com/ehsan-habibagahi/2048
2048 2048-clone 2048-game cpp
Last synced: over 1 year ago
JSON representation
🕹️ Terminal game | A minimal clone of famous 2048 game
- Host: GitHub
- URL: https://github.com/ehsan-habibagahi/2048
- Owner: Ehsan-Habibagahi
- License: mit
- Created: 2024-07-31T10:17:44.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-31T14:09:16.000Z (almost 2 years ago)
- Last Synced: 2025-01-26T14:48:51.607Z (over 1 year ago)
- Topics: 2048, 2048-clone, 2048-game, cpp
- Language: C++
- Homepage:
- Size: 44.4 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 2048 (Terminal game📟)
## Introduction
###### 2048 is a famous game which you can use your arrow keys or `A` `S` `D` `W` to move the tiles. Tiles with the same number merge into one when they touch. Add them up to reach 2048!
This project is a minimal clone of the popular 2048 game🕹️, designed to run in the terminal (standard output) using C++. It features graphics implemented with Unicode (UTF-8) and ASCII characters. The primary goal of this project was to faithfully implement all the features of the original game without sacrificing program speed and functionality.

### Aditional features
- Leaderboard
- In-game music
- Custom dimention
## Instructions
## Compilation
Simply run this command in terminal:
```shell
c++ .\main.cpp .\leaderboard.cpp .\menu.cpp .\header.h -lwinmm
```
**Make sure you have C++ compiler installed🤨**
## Data storage
All the player's data(moves/score) are stored in `data/leaderboard.csv` in csv format.

## Contributing
We appreciate any contributions to this project🌻! Whether you want to fix a bug, add a new feature, or improve the documentation, your help is valuable. you can get involved via forking this repository and make a pull request or just make an issue. Thank you so much!💛
## Credits
* [Mini clip - Gravity guy](https://www.miniplay.com/game/gravity-guy) (_Musics - Super nostalgic🎵🔥_)
* [Dr. Saeed R Kheradpishe](https://github.com/SRKH) (_Instructor_)
* [Farid Karimi](https://github.com/Farid-Karimi) (_Mentor_)