snake

🔗 Github repo snake A simple Snake game in C++, using the SFML library. How to run: Grab the latest stable compiled binaries here (scroll down, and check the Assets) How to compile: I generally use an ubuntu-based distro, I use this command to compile: g++ src/*.cpp -Wall -Wextra -Wpedantic -O3 -o build/game -I lib/SFML-2.5.1/include -L lib/SFML-2.5.1/lib -Wl,-rpath,./lib/SFML-2.5.1/lib -lsfml-graphics -lsfml-window -lsfml-system Please place the SFML-2.x.x library under lib directory, I have added this directory specifically for putting libraries....

30 May, 2020 · 1 min · 153 words