Skip to content

rxznik/GolangSnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Snake Game

Snake Game implementation in Golang using Ebiten Game Engine

Features

  • Eat food
  • Change direction
  • Game over
  • Score
  • Change speed based on score

How to play

Download the game for your platform:

Use arrow keys or WASD to move snake. Eat food to grow. Game over when snake hits itself or wall.

How to run

Run the game using go command:

go run cmd/main.go

Or you can use make:

make run

How to build

Build the game using go command:

go build cmd/main.go
./main
# With name
go build cmd/main.go -o SnakeGame
./SnakeGame

Or you can use make:

make build
./SnakeGame
# With name
make build DST=SnakeGame
./SnakeGame

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published