This is a command-line interface (CLI) game built using Rust programming language. The game is a classic space shooter game where the player has to shoot down incoming alien spaceships to protect the earth. The game is inspired by the popular 1978 arcade game, Space Invaders.
- The game has a simple user interface with ASCII art graphics.
- The player can move their spaceship horizontally and shoot bullets vertically to destroy the enemy spaceships.
- The enemy spaceships move horizontally and vertically, making it challenging for the player to hit them.
- The game has different levels with increasing difficulty, and the player has a limited number of lives to complete each level.
- The game keeps track of the player's score and displays it on the screen.
- The game has sound effects to enhance the gaming experience.
- Rust programming language
- Crossterm library for terminal manipulation
- Rust standard library for game logic
To play the game, you need to have Rust installed on your machine. You can install Rust from the official Rust website. Once Rust is installed, you can clone the game repository and run the following command in your terminal:
cargo run
This will compile and run the game.
- Use the left and right arrow keys to move the spaceship horizontally.
- Press the spacebar to shoot bullets vertically.
The Space Invader CLI Game in Rust is a fun and challenging game that tests your shooting skills. It is a great way to spend your free time and enjoy the nostalgia of classic arcade games. Give it a try and see if you can protect the earth from the invading alien spaceships!