A simple example that a space game using the famous library faiface/pixel. All the game art is created by Kenney.
If you want to execute the game then execute:
$ go run cmd/main.go
- Arrow Left: Move left
- Arrow Right: Move right
- Space: Shoot
This project is work in progress, it has been created to explain how to use the faiface/pixel package in our blog.
We will include more functionalities like:
- Shoot.
- Enemies.
- Destroy enemies.
- More keys to move your spaceship.