This project is a simple Asteroids-style arcade game implemented in Python using the Pygame library. The player controls a spaceship, navigates through an asteroid field, and shoots asteroids to survive as long as possible.
- Player spaceship with rotation, movement, and shooting mechanics
- Asteroid field with randomly spawning asteroids
- Collision detection between player, asteroids, and shots
- Cooldown system for shooting
- Game state and event logging
- W: Move forward
- S: Move backward
- A: Rotate left
- D: Rotate right
- Space: Shoot
- Install dependencies:
Or, if using
pip install pygame
uv:uv pip install pygame
- Run the game:
Or, if using
python main.py
uv:uv run main.py