A simple snake game made using the SFML library.
You can download the built game from the releases.
(Note : the downloadable build only targets Windows x64, cf the dev environment part)
Eat and grow until your inevitable death, and try to beat the high score !
The movement speed increases each time you eat a fruit, until it reaches the maximum of 2 (initial speed is 1).
Fruits spawn on random free locations in the grid.
WASD / ZQSD / Arrows to change the snake's direction
- Font : Press Start 2P
- Icon : Flaticon
- Menu music : FesliyanStudios
- Game music : FesliyanStudios
- Sounds : Freesound - LittleRobotSoundFactory
A warm-up project to handle the SFML library, with a simple architecture.
I could add a lot there (by first of all adding sprites and vfx), but I'm not likely going to spend more time on this project.
- SFML 2.5.1
- 64 bit
- Visual Studio 2019
- The SFML is also statically linked
(Note : the required headers, libs and dlls are on this repo, and relatively linked in the visual studio project, thus you shouldn't need to setup anything to get it working if you're in the same environment ; otherwise, just adapt to whatever environment you're in !)
This repo is MIT licensed.