Snake written using SFML.
Key(s) | Action |
---|---|
Arrows WASD |
Move snake |
# macOS
brew install cmake sfml
# Ubuntu
sudo apt install cmake libsfml-dev
# Clone
git clone https://github.com/giuuliorusso/snake-sfml
cd snake-sfml
# Build
cmake -S . -B build
cmake --build build
# Run
./build/snake_sfml