A Python implementation of the classic Asteroids arcade game built with Pygame.
This project is a clone of the iconic Asteroids game, developed as part of the Boot.dev Python and Pygame course. The game demonstrates object-oriented programming concepts and game development fundamentals.
- Player-controlled spaceship with movement and rotation
- Asteroid spawning and collision detection
- Asteroid splitting mechanics
- Game loop with FPS management
- Sprite-based rendering
- Python 3.11+
- Pygame
# Create a virtual environment with uv
uv venv --python 3.12
# Activate the environment
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
uv pip install pygamepip install pygamepython main.py- Arrow keys or WASD: Move and rotate the ship
- Spacebar: Shoot
This project was created following the guided tutorial from Boot.dev.