| CS396N - Web Programming |
| Spring 2002 |
| Assignment 1 B |
| Due: Monday February 11, 2002 |
Complete the following exercise by writing a java applet and emailing it
to Dr. Marchese at fmarchese@pace.edu
Alternative Exercise: Basketball Court
Many websites broadcast basketball games by
displaying a diagram of the court dappled with markers that show where
shots have been taken. Given the dimensions shown below for an NCAA standard
basketball court, create a java applet that displays the court using drawing
commands along with a set of arbitrary data showing where shots have been
taken.
Sample shot position data given in feet:
x: {10, 20, 20, 15, 5, 17,
12, 17, 11, 10}
y: { 17, 22, 35, 25, 42, 30, 42, 29,
33, 17}
Sample Output