/go-flappybird

Flappy Bird written in Go

Primary LanguageGo

Flappy Bird written in Go

go-flappybird is the fun project to get into gamedev and get to know how go-sdl2 works.

Screenshot

Requirements

On Mac OS X, install SDL2 via Homebrew like so: brew install sdl2{,_image,_ttf,_mixer} pkg-config

For complete guide how to install Go SDL2 see here

Installation

To install go-flappybird and its dependencies, type:

go get -u github.com/spoof/go-flappybird
go get -u github.com/golang/dep/cmd/dep
cd $GOPATH/src/github.com/spoof/go-flappybird
dep ensure

Run

To get it run, type: go build -o flappybird; ./flappybird

Credits