Better Stars solution

I’m going through Python Crash Course, 2nd edition, by Eric Matthes.

He posts solutions for “Try It Yourself” questions for all chapters except 12, 13, and 14, which cover his Alien Invasion project. This is the solution I came up with for 13-2. Better Stars, on p. 264.

This post will likely only make sense to people also working through the problem sets in the book.

Screenshots of two iterations of the running game:

Main File



Settings File

‘Star’ File

I created the star image using Krita.