dmitrytavern / 2048

It is a simple 2048 game in your terminal. It is my first game and the first project on C++ only with standard libraries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DTavern Game 2048

The first game screen

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.

Features

  • Available on Windows and Linux
  • Without external libraries
  • CTest with catch2 integration
  • CMake builder

Download

  • 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.

Documentation

Frequently Asked Questions

No one has actually asked these questions, but you might be interested:

Q: Is it safe?

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.

Q: What is the purpose of the game?

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.

Q: Why this game is not available on MacOS??

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.

Q: Is there anything to develop??

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 ;)

Q: What is "PoWeR" on main screen?

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.

License

MIT - check repo files

Copyright (c) 2022-present, Dmitry Tavern

About

It is a simple 2048 game in your terminal. It is my first game and the first project on C++ only with standard libraries.

License:MIT License


Languages

Language:C++ 95.3%Language:CMake 4.1%Language:C 0.5%