DTavern Game 2048 is a simple 2048 game in your terminal. It is my first game and the first project on C++ only with standard libraries. See more screenshots of the game. Also, this project was used for coursework at the university.
- Available on Windows and Linux
- Without external libraries
- CTest with catch2 integration
- CMake builder
-
Windows (7, 8, 10, 11) (x64 bit): dtavern-game-2048_v1.0.2.exe
After downloading, just run it as a standard exe file.
Note: application not tested on Windows 7 and 8.
-
Linux (x64 bit): dtavern-game-2048_v1.0.2
After downloading, run it in the terminal:
./dtavern-game-2048_v1.0.2
Note: for linux, you need set rights for execution:
chmod +x dtavern-game-2048_v1.0.2
-
MacOS: not available
-
Self compile: see documentation by compilation.
- Screenshots - see more screenshots from the game in different terminals.
- How to compile - how to compile the game on different os.
- Game structure - about directories in the game.
- Game architecture - how to write code for this game.
- Game libraries - about game libraries.
No one has actually asked these questions, but you might be interested:
Answer: Yes. I have not used external libraries and compiled programs on official clear Windows 10 (VMWare Player) in official Visual Studio C++ 2022. For Linux, I use Arch Linux with Visual Studio Code. If you do not trust suspicious links, you can compile this program for your system on one's own. See the documentation by compilation.
Answer: Firstly, gaining new knowledge in the field of C++ programming. Before I worked only on JS/TS. Secondly, for fun. This project arose spontaneously when I did not even think about the ultimate goal. You can see it in early commits.
Answer: I have no production from Apple. CI - this is a possible solution, but I don't like that I can't test it on a real machine.
Answer: Of course! Can add selecting language, can add game settings, can add game achievements, can write more tests, and include debuggers. Also, can add support for MacOS with CI/CD and arm architecture for Linux and Windows. Maybe in the future, can add the ncurses library as GUI lib, but that's a completely different story ;)
Answer: In honor of Power form the Chainsaw Man. After two months of absence from GitHub, my project appeared almost as epic as Power appeared in the second episode.
MIT - check repo files
Copyright (c) 2022-present, Dmitry Tavern