An open API service indexing awesome lists of open source software.

https://github.com/quasilyte/hiddensugar-game


https://github.com/quasilyte/hiddensugar-game

ebiten ebitengine game gamedev go golang

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

A simple game that was created during a live coding session from scratch.

It's written in Go and based on [ebitengine](https://github.com/hajimehoshi/ebiten/).

## Game Overview

![screenshot](_docs/screenshot.png)

In this game you help a tired gopher to find a sugar for their coffee.

Unfortunately, it's really dark. You can barely see anything.

Try to avoid the traps and reach your glorious goal to have a nice sweet morning coffee!

Every time a trap is activated, it deals some damage. Every next damage from
that trap kind will be doubled aftet that. Therefore, you should avoid
stepping in the same traps too many times.

Bear traps are special: they can't be triggered more than once. All other traps
will hurt you again and again if you enter the same tile.

## Game Controls

* **Move left**: left arrow (keyboard), a key (keyboard), gamepad d-pad left
* **Move right**: right arrow (keyboard), d key (keyboard), gamepad d-pad right
* **Move up**: up arrow (keyboard), w key (keyboard), gamepad d-pad up
* **Move down**: down arrow (keyboard), s key (keyboard), gamepad d-pad down

## Running the Game

```bash
$ git clone github.com/quasilyte/hiddensugar-game
$ cd hiddensugar-game
$ go run .
```

You may need to install [Ebitengine dependencies](https://ebitengine.org/en/documents/install.html#Installing_dependencies):

```bash
# For Debian/Ubuntu
$ sudo apt install libc6-dev libglu1-mesa-dev libgl1-mesa-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libxxf86vm-dev libasound2-dev pkg-config
```