Flappy Gopher is a clone of the famous Flappy Bird game developed in Go with bindings for SDL2.
This is my version of the just for func flappy gopher. the original code can be found here. I was having issues with go-sdl2 and goroutines on Ubuntu so I followed the example here. I changed my program to reflect that style and got it to work.
In this branch I also started to experiment with some other features.
You need to install first SDL2 and the SDL2 bindings for Go. To do so follow the instructions here. It is quite easy to install on basically any platform.
You will also need to install pkg-config.
After that you should be able to simply run:
go get github.com/gregpechiro/flappyGopher
And run the binary generated in $GOPATH/bin
.
All the images used in this game are CC0 and obtained from Clipart. You can find atlernative birds in there, so you can mod the game!
The fonts are copied from https://github.com/deano2390/OpenFlappyBird.