A simple Asteroids clone built with Pygame.
- Python 3.12 or later
pygame==2.6.1
Clone this repo:
git clone https://github.com/jzmack/asteroid-py.gitFrom the project root:
cd /path/to/asteroids-py # update with real path
python3 -m venv .venv
source .venv/bin/activate
pip install pygame==2.6.1Start the game with:
python3 main.py- The player sprite image is loaded from
assets/player_images/spaceship1.png - Asteroid graphics are loaded from
assets/asteroid_images/asteroid1.png