

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
click for more info
Not enough gems
Cost: 6 gems
1: Build an Asteroids Game
incomplete
2: Installation
incomplete
3: Pygame
incomplete
4: Reading the Docs
incomplete
This lesson's interactive features are locked, please to keep using them
We're going to build a simple video game, based on the classic Asteroids. If you've never played before, you can take a look at this (slightly different from our) version of the game.
If you try to complete this course without WSL 2 installed on Windows, you're gonna have a bad time.
Python 3.10+ installed (see the Bookbot project for help if you don't already have this)
The uv project/package manager
Access to a Unix-like shell (e.g., zsh or bash)
The learning goals of this project are as follows:
To introduce you to multi-file Python projects
To get you used to referencing documentation (something you'll do often in the real world)
To show you a real-world use case for object-oriented programming
To have a ton of fun building a rewarding project!
The goal is not to teach game development or the math required for physics simulations. As a result, there are some places where you'll simply copy-paste code that we wrote for you. Don't worry about trying to understand every detail if it's not interesting to you; you will be asked to write the parts that matter most.
To get started, make sure you have the Boot.dev CLI installed and working. Make sure you've installed uv (mentioned in Prerequisites) before running the tests.
Run and submit the CLI tests.
The tests just ensure that the CLI is installed and configured correctly.