Handout

Please submit a README describing your implementation, a makefile that builds the necessary classes, and a Driver.html that loads the program into appletviewer or a Java-powered browser.

To submit:

1. Add ~cs333/bin to (the beginning of) your path. Running ~cs333/bin/addpath does this.
2. Use the submit command:
Syntax: submit [-l] [assignment-number] [file ...]
Example: submit 4 makefile README Driver.html Driver.java Road.java ...
You can check what you have submitted using submit -l [assignment-number]

Addenda

Use either /usr/ccs/bin/make or /usr/princeton/bin/gmake on yuma.

Java tools are in yuma:/opt/java/bin/

You may make arbitrary changes to the provided code.

You will notice a bias in how the Road.advance method will move a car immediately after a lane change, depending on the lane a car is moving from. For example, you may observe that a car moves laterally when moving left to right and diagonally when moving right to left. This behavior is OK for your submission, although you are free to fix it.

Pressing the Stop and Run buttons in quick succession may cause the supplied applet code to hang. This is a known bug.