I began this project by following a tutorial by Lost Decade Games.
This tutorial taught me the basics of using canvas and hit detection.
In my game, the basic canvas structure and the hit detection methods are taken from this tutorial
(though the hit detection has been greatly modified to fit the needs of my game).
In this version of the game, I coded a system in which the game gets progressively harder by introducing new obstacles
from random locations that get faster as the player catches more astronauts. I did this by using if statements
that determined whether or not the score was high enough to start drawing the new obstacles with canvas or
adjusting their speed. (line 332) I achieved random placement of the objects by utilizing Math.random to
randomize the x and y positions of the objects. (line 116)
The art is original and all sounds were taken from freesound.org