A simple snake game made with C++ and SFML.
The more food you eat, the longer the snake gets and the faster it moves! How long can you survive?
If you just wish to play the game, a release executable is available for download.
Please Note: Earlier versions may work.
SFML 2.5.1 or above - http://www.sfml-dev.org/
Microsoft Visual Studio 19 or above - https://visualstudio.microsoft.com/
SFML Visual C++ 15 (2017) - 32-bit - http://www.sfml-dev.org/
The SFML libraries are already statically linked within the project.
A environment variable must be created called SFML_DIR which should point to the SFML root directory.
Ex. SFML_DIR=C:\SFML-2.5.1
- Open the file Snake.sln.
- Set the target to Debug or Release 32-bit (x86).
- Build and run.
- Open the file Snake.sln.
- Follow the procedure to link the required SFML libraries outlined here (either dynamically or statically) - https://www.sfml-dev.org/tutorials/2.5/start-vc.php
- Set the target to Debug or Release 32-bit (x86) based on which SFML libraries you linked from the above tutorial.
- Build and run.
