Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.
/ snakego Public archive

๐Ÿ Greedy snake game in Go, Project for Codelympics.

Notifications You must be signed in to change notification settings

towry-archived/snakego

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

greedy snake game in Go

greedy snake game in Go

See video for demo.

Usage

go get github.com/towry/snakego
make
make run

Keys

Press Space to stop, press Space again to resume.

Use arrow key to control the direction of snake or accelerate speed.

TODO

  • add food collision detect
  • add ticker
  • add border collision detect
  • add body collision detect

(c) Towry Wang

About

๐Ÿ Greedy snake game in Go, Project for Codelympics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published