go-snake

command module
v0.0.0-...-35f8bd8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2018 License: MIT Imports: 6 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL