A simple implementation of a retro style video game where users compete against asteroids and the goal is to destroy as many asteroids as they can with a spaceship and score as many points as they can. Users can move upward and rotate and move in any direction. Users can shoot at the asteroids and destroy them.
- Use the arrow up key on the keyboard to move upwards
- Use the arrow left and arrow right key to change direction of the spaceship
- Shoot asteroids using the space key
- Once the game is over, press space to play again
Download the project
Go to the project directory
cd SpaceInvaders
Install dependencies
pip install pygame
Start the game
python main.py