Telroshan / SFML-Snake

A simple snake game made in C++ using the SFML library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SFML Snake

A simple snake game made using the SFML library.

Video (Gameplay video)

Download

You can download the built game from the releases.

(Note : the downloadable build only targets Windows x64, cf the dev environment part)

The game

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.

image

Controls

WASD / ZQSD / Arrows to change the snake's direction

External assets credits

Context

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.

Dev environment

(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 !)

License

This repo is MIT licensed.

About

A simple snake game made in C++ using the SFML library.

License:MIT License


Languages

Language:C++ 100.0%