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
- Host: GitHub
- URL: https://github.com/friendsofgo/spacegame
- Owner: friendsofgo
- Created: 2020-01-04T20:03:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-02T12:12:37.000Z (about 6 years ago)
- Last Synced: 2024-06-20T02:08:58.488Z (almost 2 years ago)
- Language: Go
- Size: 24.4 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.