Skip to content

giuuliorusso/snake-sfml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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