The goal of this lab is to get more practice working with lists and nested loops. This lab will also help you to get started thinking about PP #1: Joust!. You may be able to use the code from this lab directly in your project. If not, it will at least give you some helpful ideas. If you finish early you should read through PP1 and start thinking about your design for the programming project. Make sure to organize your code sensibly, include comments, and select meaningful variable names. See the Alice Documentation and Coding Standards Guide for specific suggestions.
if jouster1 collides with obstacle1
handle collision between jouster1 and obstacle1
if jouster1 collides with obstacle2
handle collision between jouster1 and obstacle2
...
This kind of repetition can be avoided if we maintain a list of
jousters and a list of obstacles. These lists will allow us to check
for collisions between each possible match-up of jouster and collider
by using a nested "for all in order" or "for all together" loop. The
outer loop will iterate through the set of obstacles and the inner
loop will iterate through the set of jousters.