SnakeCpp is a cross-platform game where you control a snake that eats fruits and challenge yourself. See more here.
See https://github.com/ThiaudioTT/SnakeCpp/releases.
In case you want to compile from source:
Linux is much easier, open the folder with the terminal and type:
make
and execute SnakeGame
Make sure that you have the dependencies like sfml and make:
On debian-based distros:
sudo apt-get install libsfml-dev
sudo apt-get install build-essential
In windows is more harder.
-
Install sfml according to your compiler and put the files in /include directory.
-
Install your compiler and use the
make
to compile the files, usewindows
as an argument.
Example using mingw (The common option):
mingw32-make.exe windows
then, copy SnakeGame.exe to a folder and add the binaries of SFML in that folder, then your game is ready to be played.
Your folder will be like this: