Thursday - Lecture 20 - Intro to Asteroids
Date: July 23

Today we’ll focus on introducing our final context of the quarter: the game Asteroids! In today’s videos, we’ll explore the setup of the asteroids_lib which we’ll give to you as part of Tutorial 10 and Exercise 9. As usual, you might be able to skim the videos as they go into a lot more detail than you actually need to complete the exercise. However, it’s your responsibility to revisit them if you’re confused.

Then, it will be your job, across these two assignments, to use that library to implement a functioning version of asteroids. As you’re watching and working, think about the differences between this approach and your earlier work on the Snake game. What is easier? What is more confusing? What’s harder to debug? What’s harder to test? While object-oriented programming is great, it also introduces a whole new set of issues we have to design for and debug.


In-Class Resources


📊 Slides
🎬 Available Videos 🎥
Link Title Type Duration
Video 1 Lecture 20.1 - A Brief Intro to Game Engines pre-recorded 572
Video 2 Lecture 20.2 - Inside Asteroids pre-recorded 424
Video 3 Lecture 20.3 - Collision Detection pre-recorded 468

Mini-Quiz 20: Intro to Asteroids

To take the mini-quiz associated with this lecture's content, you can use this link or find the quiz under the Quizzes page on Canvas.