CS 390:61-70 Fall 1999
Homework 7 -- Virtual Pests, Part III

Due Date: Tuesday, Nov. 30 in class


This is the final part of a three-part assignment. The requirements for the were for you to design a virtual pest and its behavior. The requirements for the were for you to implement the user interface and design the structure for the software that implements the behavior. The final part is to add the described behavior using JavaScript functions and statements.


Using the table of behaviors you specified in Parts I-II as a guide, complete your virtual pest by translating these to the appropriate JavaScript commands and testing them for correctness.

Also upload your completed pest to your course website and supply the URL (on your gradesheet).


As discussed in class, you need to link your form elements to functions so that the values of the form elements may be transferred to the function for processing, then back to the form for display purposes. See the class lecture notes on and for more details on accomplishing this.

A has been provided for your assistance in this regard. Several points are worthy of note:

You should upload your virtual pest to your website and provide its URL on your gradesheet.



You must do this work yourself. If you need assistance with this aspect of the assignment, see a consultant during consulting hours. You are encouraged to seek any necessary help from other persons regarding how to use your computer and accompanying software, in accordance with the stated course policy.