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

https://github.com/friendsofgo/spacegame

A simple project to demostrate how to create a game using https://github.com/faiface/pixel in Go
https://github.com/friendsofgo/spacegame

Last synced: about 2 months ago
JSON representation

A simple project to demostrate how to create a game using https://github.com/faiface/pixel in Go

Awesome Lists containing this project

README

          

# Friends of Go Space Game

A simple example that a space game using the famous library [faiface/pixel](https://github.com/faiface/pixel).
All the game art is created by [Kenney](https://opengameart.org/content/space-shooter-redux).

## Run the game

If you want to execute the game then execute:

```
$ go run cmd/main.go
```

## How to use the game

* Arrow Left: Move left
* Arrow Right: Move right
* Space: Shoot

## WIP

This project is work in progress, it has been created to explain how to use the [faiface/pixel](https://github.com/faiface/pixel)
package in our [blog](https://blog.friendsofgo.tech).

We will include more functionalities like:

- [x] Shoot.
- [ ] Enemies.
- [ ] Destroy enemies.
- [ ] More keys to move your spaceship.