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

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

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.

![2024-07-31+16-40-54_out (1)](https://github.com/user-attachments/assets/084ff299-39cc-443f-a28d-82809031fb48)
### 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.

Screenshot 2024-07-31 160509

## 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_)