👾 Invaders is a terminal-based space invaders game developed in Rust. The game features a player-controlled spaceship that can move left or right and shoot at incoming invaders. The objective is to destroy all invaders before they reach the bottom of the screen.
- 🚀 Player movement and shooting mechanics.
- 🎮 Progressive difficulty with increasing speed of invaders.
- 🔊 Sound effects for shooting, explosions, and game events.
To run 🚀 Invaders, you need to have Rust and Cargo installed on your machine.
- Clone the repository:
git clone https://github.com/zairuiy-coding/invaders.git cd invaders
- Build and run the game:
cargo run
- 👾 Use the left and right arrow keys to move your spaceship.
- 💥 Press space to shoot at the invaders.
- 🚫 Avoid letting invaders reach the bottom of the screen or it’s game over.
- ⭐ The game increases in difficulty as more waves of invaders are defeated.
- 🎮 Launch the game from a terminal:
cargo run
- 🕹️ Control the spaceship using the keyboard:
- ⬅️
Left Arrow
: Move left - ➡️
Right Arrow
: Move right - 🔫
Spacebar
: Shoot