snake game in C++ using sfml library.
A classic snake game made in C++ using sfml library. It will be a good way to learn about different aspect of development with C++ for a beginer.
Currently the build system available are:
MS Build (Visual Studio)
GNU Make
If you are a beginer, try to
```
sudo apt-get install libsfml-dev
```
</path/to/sfml/>/include
to your c++ include path.</path/to/sfml/>/lib
to the linker extra library path.Download the source code.
Import into Visual Studio
Build according to your need (x64 or x86 or whatever)
Don't forget to link the sfml libraries - graphics, window and system.
put the following files in linker input:
sfml-system-d.lib, sfml-window-d.lib, sfml-graphics-d.lib and GameMenu.lib
Copy the sfml dlls (window, graphics and system) along with the executable
Then Run and enjoy
(Build will work, but the application is untested)
$ cd sfml-snake
$ make
bin/game
should apear. The directory will be created if doesn't exist.Feel free to fork, fix the issues and contribute. Help is always welcome.