Lab Homework 8

You are to complete this homework before attending the ninth lab.

Define a Critter class called Parrot. It should always hop, even if hopping won't work because there is a wall or an enemy in front of it. Its color should be yellow and its string should be "Y". To work on this problem, you should download and unzip the files in ass8.zip.

Working on this problem will help prepare you for the homework assignment. Remember that for these warm-up exercises you can talk to each other about how to solve it and even look at each other's solutions. Then you should work on the weekly programming assignment by yourself.