Demo Video: https://youtu.be/nnagibXqy0g
Download Latest Release: https://github.com/zEuS0390/cpp-sfml-snake-game/releases/latest
- Download the latest version of SFML 2.x, make sure it is compatible to your platform. After that, extract and place it in the libs directory. If you want to let the CMake handle it for you, just set the
SNAKE_AUTO_DOWNLOAD
toTRUE
. - Open the terminal or command prompt and navigate to the project's build directory.
- Proceed to step 5 if you're not using Linux. Install the required dependency
libopenal-dev
. - Execute the command
cmake ..
followed bymingw32-make
,cmake --build .
ormake
. - A bin directory will be created, which contains the executable program. Go there and run it.