Lab20: Game design with Greenfoot

Background

Greenfoot is an interactive, visual programming environment that enables students to write their own simulations and games using standard Java. Read the  About Greenfoot page for more details about the project.

Objectives

  • Become familiar with the Greenfoot environment.

  • Explain the difference between classes and objects.

  • Practice writing and calling non-static methods.

Instructions

Download Greenfoot from the Downloads page of the site(You can use the Ubuntu or Java versions in the lab) and work through the official  Greenfoot Tutorials. At a minimum, complete parts 1–4(Ignore the parts that ask you to Compile as this is no longer required). Feel free to explore and add other code to your scenario. Be creative! Submit your final Crab.java file via Canvas by the end of the day.

Don't forget to write a Javadoc comment for the Crab class, including your name and today's date.

Back to Top