CompSci 4 - Classwork - Oct 20, 2005
5 pts

Today's classwork goes along with Chapter 6, Tips and Techniques. You will be using random values and variables.

Create one world with three animals, one animal that can change colors noticeably. (For example, if you change the color of the chicken, it is noticeable. If you try to change the color of the bunny, you don't see the change.) I used cat, chicken and bunny. You may use this or substitute other animals or creatures.

You should write four event handlers. Some may need random values. For some you may need to create a class variable or a variable in a method.

If you have a random value, you should assign it to a variable and print it out so you can see its value when you use it!

If you finish early, feel free to embelish your animations.