CS 2102 - Dterm 09
Homework 4 - Designing an Interactive Game
Part 1 - Becoming Familiar with the "World"
"Due" date: Tuesday, March 31
Assignment Goals
- To understand how to use the classes and methods defined in the ProfessorJ
teachpacks
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
- 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:
- 2.1 Geometry
- 2.2 Colors
- 2.3 Draw
(don't worry about
2.4 Draw yet). As you study the following sample programs, refer back to the
teachpack documentation.
- 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.
- 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".
- 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.