Skip to content

lev2pr0/asteroids

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 -m venv venv
  1. Activate the virtual environment:
source venv/bin/activate
  1. Should look like this: (venv) username@MacBook-Pro-2 Asteroids %
  2. Install the requirements:
pip install -r requirements.txt
  1. Confirm pygame is installed: python3 -m pygame
  2. Run program:
python3 main.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

License

Stars

Watchers

Forks

Contributors

Languages