SnakeSFML is a Snake game developed in C++ and is available in 3 modes (Easy - Medium - Hard).
SnakeSFML uses SFML which is a simple, fast, and cross-platform multimedia API provinding access to windowing, graphics, audio and network.
Will you be able to beat the Snake's hard mode ? (Beating hard mode, is actually attaining maximum snake length ;) )
Good luck & Have fun !
In order to compile this code, you'll need SFML installed. A quick way to do it on linux (debian based):
sudo apt install libsfml-dev
Simply type :
make
or if you're reckless and want to compile it by hand :
g++ -c include/*.hpp src/*.cpp && g++ *.o -o snake -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio && ./snake
- Add online scoreboard
- Multiplayer Snake (multiple snakes race to eat the fruit !)