A few weeks ago we had a Cool Stuff in Computer Science session dedicated to Greenfoot. Cool Stuff is an extra-curricular “course” open to students at the University of Kent where we explore… well, things they think are cool. Sometimes, we focus on things we think they’ll think are cool. (Did I get that right?)
Anyway, what I like about using Greenfoot in the classroom is the unpredictability of what students will do. I started things out by showing them “termites”, which is a world I created based on a world in StarLogo/NetLogo.

Termites! (~400KB MP4, click to play)
Then, I introduced them to the (mostly empty) Hippo world.

A hippo world
Now, I think the introduction matters. I sold them on hippos on the (false) belief that hippos are kind, friendly creatures that love nothing more than to wallow about in the water. Now, in truth, hippos are cantankerous creatures that are not to be trifled with. And, I think (but am not sure) that they are omnivores. They eat meat. I think.
Regardless of whether it is true, in my world, hippos eat sheep. Poor, defenseless, dumb-as-rocks sheep.
And that was it. Some introduction to how Greenfoot works, and how you actually add behavior to an Actor, and they were off. “Do something cool” was the extent of our instruction that evening.
The first world I’d like to share with you is Rage Lemons (hippos-ragelemon.zip). Below is a 2MB movie (MP4 encoded as well) of the hippos in action.

Rage Lemons! (click to play)
You see, in this world, Hippos and Sheep live together, peacefully. Until, of course, a Hippo eats a Rage Lemon! At that point, the Hippo goes bezerk, eating any and all Sheep it comes across. Eventually, the powerful effect of the Rage Lemon wears off, and the Hippo resumes its normally peaceful life.