Repository navigation
Space Invaders Game v1.3.2
Full Changelog: v1.3.0...v1.3.2
- Add another drop down to increase other spaceship stats.
- Fix bugs and balancing the game.
Game Objective
The game is an endless space shooter where players face increasingly difficult waves of alien ships that scale with their level. Each time the player levels up, they can choose an upgrade to improve their spaceship, such as boosting firepower to handle tougher aliens with stronger armor. The objective is to survive as long as possible, destroy alien ships, and push for a higher score while managing health through occasional drop-down health packs that restore the spaceship health.
Install
go install github.com/omar0ali/spaceinvaders-game-cli@latestControls
| Control | Action |
|---|---|
| Left Mouse Click / Space Bar | Shoot beams |
| Mouse Movement | Move the spaceship |
| F | Consume health kit (increase spaceship's health) |
| P | Pause the game |
| S | Start the game or Upgrade Gun Speed |
| A | Upgrade Gun Power |
| D | Upgrade Gun Capacity |
| C | Increase heatlh |
Default Configuration File
Configuration file added for the player to freely change/update entity's attributes. The config file saved as config.toml.
[spaceship]
max_level = 50
next_level_score = 300
gun_max_cap = 15
gun_max_speed = 75
[aliens]
limit = 1
health = 1
speed = 3
gun_speed = 35
gun_power = 1
[stars]
limit = 10
speed = 45