Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 703 Bytes

README.md

File metadata and controls

47 lines (32 loc) · 703 Bytes

Snake

CI

Snake written using SFML.

Keybindings

Key(s) Action
Arrows
WASD
Move snake

Build from source

Install dependencies

# macOS
brew install cmake sfml

# Ubuntu
sudo apt install cmake libsfml-dev

Build and run

# Clone
git clone https://github.com/giuuliorusso/snake-sfml
cd snake-sfml

# Build
cmake -S . -B build
cmake --build build

# Run
./build/snake_sfml

License

MIT