A classic arcade-style asteroids game built with Python and Pygame. Done for practice.
This project is a 2D space shooter where the player controls a spaceship in a field of asteroids. The objective is to destroy asteroids by shooting them while avoiding collisions. When an asteroid is shot, it splits into smaller pieces, increasing the challenge.
It's asteroids.
- Python >= 3.13
- Pygame == 2.6.1
- Clone the repository to your local machine.
- Install the required dependencies:
pip install pygame==2.6.1
To start the game, run the main.py file from the root directory of the project:
python main.py- W: Move forward
- S: Move backward
- A: Rotate left (counter-clockwise)
- D: Rotate right (clockwise)
- Space: Shoot