Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 666 Bytes

File metadata and controls

30 lines (18 loc) · 666 Bytes

Asteroids

A small Asteroids game built in Python with pygame.

This is one of my boot.dev projects. I built it to practice Python, object oriented design, and the basics of a game loop.

What it does

You fly a ship, dodge asteroids, and shoot them. Each asteroid you hit splits into smaller ones until it is gone. Touch an asteroid and the game ends.

Controls

  • W / S move forward and back
  • A / D rotate left and right
  • Space shoot

Run it

You need Python 3.13+ and uv.

uv run main.py

That installs the dependencies and starts the game.

Built with

  • Python
  • pygame