Skip to content

k3nz0/SnakeSFML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnakeSFML

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 !

Requirements

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

Install

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

Perspectives

  • Add online scoreboard
  • Multiplayer Snake (multiple snakes race to eat the fruit !)

About

Developped in C++ with SFML. Play Snake and challenge your limits !

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published