This project constains 2 versions of the game. A legacy version in C11 and a new version in C++20. None is better than the other, they're simply different flavors of the same game (the C++ one is partially a rewrite).
Build dependencies:
- CMake (build system)
- Ncurses (library)
- A compiler with C++20 support
$ cmake . -DCMAKE_BUILD_TYPE=Release
$ makeAfter compiling you'll have a cnake for the C11 version and a cnakepp for the C++20 version.
Move with WASD or the arrows keys
Press p to pause
Stay pressed to go faster
The game can be quit with ctrl + c or through the pause menu