playable 🐍
Snake = white
Food = red
for fun!
inspired by
- The Coding Train - coding challenge #3: The Snake Game: https://www.youtube.com/watch?v=AaGK-fj-BAM
- justforfunc #6: Flappy Gopher: https://www.youtube.com/watch?v=aYkxFbd6luY
The game depends on the Go Binding of SDL2: https://github.com/veandco/go-sdl2. This needs to be installed first (OS depened).
go get github.com/fraenky8/go-snake
go build
Run the binary:
./go-snake
Game stops when snake eats itself and a GAME OVER!
is printed on the command line.
The code in this project is licensed under MIT license.