Skip to content

EternalBytes/snake-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Console Snake Game in Go (Golang)

This snake game is a direct translation, from C to Go, of the Snake Game code from: Console Snake Game in C

If you are learning Golang, make sure to read this code and get the most out of it.

NOTE: This code has been tested in Linux operating system only. To be more precise, I only tested on Ubuntu Linux.

If you found a solution for a problem you figured out in this code, feel free to make a pull request.

Compilation and running:

$ go build main.go
$ ./snake

Control keys:

q - quit
a - left
s - down
w - up
d - right

About

A Console Snake Game in Go (Golang)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages