Skip to content

Repository files navigation

Asteroids ☄️

Purpose

Asteroids is a Boot.dev project! I built a simple video game, based on the classic Asteroids. If you've never played before, you can take a look at this version of the game. The learning goals of this project are:

  • Introduction to multi-file Python projects
  • Real-world use case for object-oriented programming
  • To have a ton of fun building a rewarding project!

For more, see Boot.dev Achievements

Installation

  1. Fork from the main branch
  2. Download and extract .zip from your forked repository
  3. Navigate to directory of extracted .zip in terminal; Example: cd ~/user/downloads
  4. Create a virtual environment at the top level of your directory:
python3-mvenvvenv
  1. Activate the virtual environment:
sourcevenv/bin/activate
  1. Should look like this: (venv) username@MacBook-Pro-2 Asteroids %
  2. Install the requirements:
pipinstall-rrequirements.txt
  1. Confirm pygame is installed: python3 -m pygame
  2. Run program:
python3main.py

Demo

Screen.Recording.2025-06-06.at.10.18.25.PM.mov

Notes

  • Requires Python 3.10+ installed
  • Requires Pygame 2.6.1+ installed
  • Requires access to a unix-like shell (e.g. zsh or bash)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages