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.
- Leaderboard
- In-game music
- Custom dimention
Simply run this command in terminal:
c++ .\main.cpp .\leaderboard.cpp .\menu.cpp .\header.h -lwinmm
Make sure you have C++ compiler installed🤨
All the player's data(moves/score) are stored in data/leaderboard.csv
in csv format.
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!💛
- Mini clip - Gravity guy (Musics - Super nostalgic🎵🔥)
- Dr. Saeed R Kheradpishe (Instructor)
- Farid Karimi (Mentor)