Skip to content

pxsa/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simple snake game in golang

This is a simple snake game, written in go.

Installation

execute the following command in your terminal.

go get github.com/pxsa/snake

setup

Direction

  • w (up)
  • s (down)
  • a (left)
  • d (right)

Scale

The default value for widthand height is set to 10, But you can change it manually to whatever you want.

const (
    Width = 10
    Height = 10
)

Output

trailer

Releases

No releases published

Packages

No packages published

Languages