Help us shape the future of Go! Take the 2026 Go Developer Survey

flappy-gopher

module
v0.0.0-...-390c9aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2020 License: BSD-3-Clause

README

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

Directories

Path Synopsis
cmd
flappy-gopher command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL