Have you ever wondered how to make a missile blow up an alien ship in a game? Or how about when an enemy plane crashes into yours in games like 1943? Although it seems like a simple feat to check when two sprites crash into each other, the details are actually not so simple. The technical term for this is collision detection, which means that the position of one sprite is compared to the position of another sprite, and if any of the visible pixels intersect, then the sprites have collided!
There are three types of collisions (or lack thereof) for which your program should check.
Bounding rectangle collision
Okay, technically the third option is not a type of collision, ...