spacegame

Crates.iospacegame
lib.rsspacegame
version0.1.0
created_at2025-11-16 20:53:04.088846+00
updated_at2025-11-16 20:53:04.088846+00
descriptionA bad 2D game.
homepage
repositoryhttps://github.com/simon0302010/spacegame
max_upload_size
id1935900
size17,665,363
(simon0302010)

documentation

README

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

Commit count: 0

cargo fmt