| Crates.io | spacegame |
| lib.rs | spacegame |
| version | 0.1.0 |
| created_at | 2025-11-16 20:53:04.088846+00 |
| updated_at | 2025-11-16 20:53:04.088846+00 |
| description | A bad 2D game. |
| homepage | |
| repository | https://github.com/simon0302010/spacegame |
| max_upload_size | |
| id | 1935900 |
| size | 17,665,363 |
A pretty bad 2D space game where you shoot at asteroids.
This demo video sucks:
https://github.com/user-attachments/assets/2f032e5f-a7ef-4905-8610-8918dd0efe90
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.
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.
Spacecraft image from Freepik
Asteroid image from Freepik