Skip to content

Aliemeka/space-invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invader CLI Game in Rust

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.

Game Features

  • 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.

Technologies Used

  • Rust programming language
  • Crossterm library for terminal manipulation
  • Rust standard library for game logic

Installation

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.

Controls

  • Use the left and right arrow keys to move the spaceship horizontally.
  • Press the spacebar to shoot bullets vertically.

Conclusion

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!

About

Space Invaders CLI game built with Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages