crates.io

The Rust community’s crate registry

spacegame v0.1.0

A bad 2D game.

Space Game

A pretty bad 2D space game where you shoot at asteroids.

Demo

This demo video sucks:

https://github.com/user-attachments/assets/2f032e5f-a7ef-4905-8610-8918dd0efe90

Installation

You can download the game from crates.io:

cargo install spacegame

Now, it should be installed in your Cargo bin directory, which is usually located at ~/.cargo/bin.

Gameplay

Run the game using the following command:

spacegame

Note: Ensure that your cargo bin directory is in your system's PATH to run the command directly.

Use the arrow keys to navigate your spaceship and the spacebar to shoot at asteroids. You lose health if you collide with an asteroid and get points for destroying them.

Credits

Spacecraft image from Freepik

Asteroid image from Freepik

Stats Overview

18 Downloads all time
1 Versions published

Downloads over the last 90 days

Display as