Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 1.91 KB

README.md

File metadata and controls

69 lines (48 loc) · 1.91 KB

flappy-gopher

Build Status

A game that mimics the flappy-bird game with Gopher style.

This game uses go-sdl2, that is a wrapper for the SDL2.

If you want to help with the development or run it locally from the code, the original SDL2 installation is required.

If you just want to play the game, there is no need to install SDL2, just download the zip files provided by the releases, extract it and run the executable.

Development dependencies

Running

make run

This command runs the game based on the local code, useful during the development phase.

Make sure to know it will focus the execution using your current OS as the target version, since it uses go run to execute the game.

If you want to run a compiled version, run one of the compile commands and then check the ./builds directory.

Deployment dependencies

If you are using Linux or OS X and want to compile a Windows version, you must install the mingw-64 to be able to compile it.

Linux(Ubuntu/Debian)

sudo apt install -y mingw-w64

OS X

brew install mingw-w64

Compiling

Make sure to use the correct command accordingly to your development OS and the target OS, otherwise it will not work properly.

From Linux

make build-lin-to-lin
make build-lin-to-osx
make build-lin-to-win

From Windows

make build-win-to-lin
make build-win-to-osx
make build-win-to-win

From OS X

make build-osx-to-lin
make build-osx-to-osx
make build-osx-to-win