Skip to content

(Boot.dev) Build a clone of the classic Asteroids game using Pygame and object-oriented programming concepts.

Notifications You must be signed in to change notification settings

FongFox/asteroids-game

Repository files navigation

Asteroids with Pygame

A small project to get familiar with pygame and the basic structure of a Python game program.

Requirements

  • Python 3.12+
  • uv
  • pygame (managed via uv in pyproject.toml)

Setup

Install dependencies with:

uv sync

Running the program

  • Run the main script with:
uv run main.py
  • If everything is working, you should see output similar to:
Starting Asteroids with pygame version: 2.6.1

Project structure

  • main.py – Entry point of the program, imports pygame and prints its version.
  • pyproject.toml – Project and dependency configuration.
  • uv.lock – Lockfile generated by uv to pin dependency versions.
  • .python-version – Specifies the Python version used for this project.

Notes

  • This is just the initial boilerplate to verify that pygame is installed and working.
  • Future steps will gradually add the actual Asteroids game logic and rendering.

About

(Boot.dev) Build a clone of the classic Asteroids game using Pygame and object-oriented programming concepts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages