Skip to content

UfiairENE/snakegame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The task is to implement a basic Golang version of the [Snake game] (https://en.wikipedia.org/wiki/Snake_(video_game_genre)) on the command line. Took about 4-5 hours to complete.

In order to play the game you'll need to build it first.
These are the steps you have to follow:

  • Install go if you don't have it on your system already
  • Open a terminal
  • Go into the snakegame directory
  • Run this command
go build -ldflags="-s -w" -o snake main.go
  • This will create a snake binary that you can execute by running ./snake

  • Use arrow keys to move the snake around

About

snakegame task built with golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages