Skip to content

A modern, Python-powered take on the classic arcade game Asteroids — built with pygame as part of my journey through Boot.dev. Smooth movement, shooting, splitting asteroids, score tracking, sound effects, and a clean retro vibe.

Notifications You must be signed in to change notification settings

JosephGabito/pyasteroid

Repository files navigation

🚀 pyasteroid

A modern, Python-powered take on the classic arcade game Asteroids — built with pygame as part of my journey through Boot.dev. Smooth movement, shooting, splitting asteroids, score tracking, sound effects, and a clean retro vibe.

https://share.cleanshot.com/1qqRfsJ7

screenshot


🎮 Features

  • 🌀 Full 360° ship movement and rotation
  • 🔫 Shooting mechanics with bullet tracking
  • 💥 Asteroids that split into smaller pieces
  • 🧠 Collision detection using hitboxes
  • 🔊 Sound effects (explosions, etc.)
  • 🌌 Procedural starfield background with layered parallax
  • 🔢 Scoring system based on asteroid size
  • 📦 Clean object-oriented Python structure

🛠 Built With


📦 Installation

  1. Clone this repo:
    git clone https://github.com/JosephGabito/pyasteroid.git
    cd pyasteroid
    
  2. Install dependencies
    pip install pygame
    
  3. Run the game:
    python main.py
    
    

About

A modern, Python-powered take on the classic arcade game Asteroids — built with pygame as part of my journey through Boot.dev. Smooth movement, shooting, splitting asteroids, score tracking, sound effects, and a clean retro vibe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages