Space War is a retro arcade-style game where the player takes control of a spaceship to navigate through space filled with allies and enemies. The objective is to shoot enemies while avoiding shooting allies and preventing collisions with both.
- Control your spaceship with intuitive keyboard commands
- Shoot down enemies to score points
- Avoid shooting allies and colliding with any space objects
- Score points to advance to the next level. The game will get progressively harder with each level
- Three lives per level. Manage them wisely to achieve the highest level
Ensure you have Python 3.X installed on your machine. This game was developed and tested with Python 3.10.6.
Clone this repository to your local machine, navigate to the project directory:
git clone https://github.com/nicolasjusten95/space-war.git
cd space-war
To play the game, use the following command inside the project directory:
python space_war.py
- Arrow up: Accelerate your spaceship
- Arrow down: Decelerate your spaceship
- Arrow left: Turn your spaceship left
- Arrow right: Turn your spaceship right
- Spacebar: Shoot missile
