A classic snake developed in C++ using the cross-platform software development library SFML.
To build and run the game, you can either call the CMake commands directly, or use a Makefile (make) that wraps these commands.
- CMake (minimum 3.27.9).
- C++ compiler (GCC, ClangApple Clang compiler, Clang)
Microsoft Visual C++ - functionality not verified.
If you want to call CMake commands yourself:
- cmake -S . -B build
- cmake --build build
- cmake --install build
Otherwise, you can use Makefile (make):
- make compile
Once built, the binaries will be available in the build/bin
folder. To start, you need to run the Snake file.