CS 2102 - Dterm 09

Homework 4 - Designing an Interactive Game

Part 1 - Becoming Familiar with the "World"

"Due" date: Tuesday, March 31

Assignment Goals


The Assignment

You'll like Part 1 of Homework 4 - there's nothing to turn in, and nothing will be graded. You should use this time to become familiar with the classes and methods in the ProfessorJ teachpacks that support drawing on a Canvas and producing an interactive game. In Part 2 of Homework 4 you will be designing a game using these teachpacks.

Problems

  1. In the DrScheme helpdesk, choose "Teachpacks". In the upper-left corner of the screen, choose "HtDC Teachpacks". Carefully read through the documentation for each of the teachpacks: (don't worry about 2.4 Draw yet). As you study the following sample programs, refer back to the teachpack documentation.

  2. Load the program draw-face.ijava into ProfessorJ and run it (use Intermediate ProfessorJ). Study the code to learn how to draw images on a Canvas.

  3. Load the program exploding-sun.ijava into ProfessorJ and run it (in Intermediate). Study the code to learn how to create an interactive game in the "World".

  4. If you have questions about the sample programs that were provided, or any of the documentation in the teachpacks in DrScheme's helpdesk, please post your questions on the Discussion Board.

What to Turn In

There is nothing to turn in for Part 1 of Homework 4.