github.com/fraenky8/go-snake

The Snake Game written in Go & SDL2


Keywords
game-2d, go, golang, sdl2, snake-game
License
MIT
Install
go get github.com/fraenky8/go-snake

Documentation

The Snake Game in Go

playable 🐍

Snake = white
Food = red

why, what, how, where

for fun!

inspired by

Installation

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

Playing

Run the binary:

./go-snake

Game stops when snake eats itself and a GAME OVER! is printed on the command line.

Licensing

The code in this project is licensed under MIT license.