Skip to content

gonutz/gophette

 
 

Repository files navigation

Gophette's Great Adventure

Gophette, the only female Gopher in the Gocave, is out for a walk in the forest when she hears a strange voice...

Evil Doctor Barney Starsoup is sitting in his cabin, looking at the programming language news groups as he finds out about the nice little language that Gophette so admires.

Barney Starsoup Gophette

Doctor Starsoup has a reputation of adding terrible features to perfectly fine languages and hence he seeks to find the secret Gocave and make it his own.

Can you beat Evil Doctor Barney Starsoup in a race to your home and warn the other Gophers about the threat before it is too late?

Race

Here is a video of the gameplay: Gameplay

Build

Windows

On Windows the game uses DirectX by default. The dependencies are installed automatically when you get the game. Run the following commands:

go get github.com/gonutz/gophette
cd %GOPATH%\src\github.com\gonutz\gophette
build_win.bat
bin\gophette.exe

The resulting executable will be placed inside the gophette directory under bin\gophette.exe. The executable is the only file needed, it contains the resource data (sounds and images) and can be run on any Windows maching with Windows XP or later.

Note that the level editor only works with SDL2, so if you want to change the level you have to have a C Compiler and the SDL2 library installed.

Linux

On Linux the game uses the SDL2 library, so make sure to install it by running:

sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-image-dev
sudo apt-get install libsdl2-mixer-dev

After that you can get the game with:

go get github.com/gonutz/gophette

Then go into the source directory under $GOPATH/src/github.com/gonutz/gophette. From there, run the Linux build script:

./build_linux.sh

The resulting executable will be placed inside the gophette directory under bin/gophette. The executable is the only file needed, it contains the resource data (sounds and images) and can be run from any directory.

OS X

On OS X the game uses the SDL2 library, so make sure to install it by running:

brew install sdl2
brew install --with-libvorbis sdl2_mixer
brew install sdl2_image

After that you can get the game with:

go get github.com/gonutz/gophette

Then go into the source directory under $GOPATH/src/github.com/gonutz/gophette. From there, run the Linux build script:

./build_linux.sh

The resulting executable will be placed inside the gophette directory under bin/gophette. The executable is the only file needed, it contains the resource data (sounds and images) and can be run from any directory.

About

I created this as a solo project, meaning this is all programmer art (graphics and sound). I have created small games in the past, first in C++ and now in Go.

I hope people enjoy this game and realize that Go is very capable of creating desktops apps.

About

Play Gophette's Adventure! She is the only female gopher in Gopherland and she is in trouble.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.9%
  • Other 1.1%