Back to projects
Completed

Asteroids

Pygame arcade · boot.dev

Course craft from boot.dev: a real-time arcade loop in Pygame. Circle-based collision, sprite groups, asteroid fields that spawn and split, plus extras — enemy ships, weapon powerups, and shields — on top of the classic shoot-and-survive core.

Asteroids

Course project

Ship, stones, and score

The player rotates and thrusts in a wraparound field while asteroids drift in from an AsteroidField. Shots collide with rocks; large asteroids split into smaller ones. Lives and score live on a HUD so the run stays readable under pressure.

Asteroids game concept art — ship among rocks
Arcade loop — collide, split, survive

Beyond the basics

Enemies and powerups

Enemy ships spawn from screen edges. Powerups drop weapon modes (multi, four-way, rapid) and shield types, including life pickups. Shared CircleShape geometry keeps collision logic consistent across player, shots, asteroids, and enemies.

Stack

Python · Pygame · uv

Modular files for player, asteroid, field, shot, enemy, powerup, HUD, and constants. Pygame 2.6 sprite groups drive update and draw. A clean course artifact that still plays like a small game, not only a tutorial fragment.

Problem

Learning real-time game loops needs more than slides — collision, spawning, and state have to run at frame rate.

Approach

Pygame sprites, circle collision, and layered systems for field, combat, and pickups.

Outcome

A complete Asteroids-style game from the boot.dev course with enemies, powerups, and HUD.

Technologies

  • Python
  • Pygame
  • Game Dev
  • boot.dev