CS 140 - Homework 2, Due Tuesday Feb 3

Drawing a Bullseye

Write a Java program that creates the drawing below. Make the overall picture 600-by-600 pixels. Each bullseye is 200 pixels wide and high. Each bullseye should have eight rings in it, with crosshairs in the middle. The way to do this and avoid code duplication is to have your run method call another method named bullseye nine times withe nine different starting coordinates.

What to turn in

  1. Make a folder named HW2 and your Program.java file should should be in there.
  2. Turn in a printout at the start of class. Please print this in advance and don't rely on the printer in the classroom working.
  3. Make sure to never modify your program after the due date and time. Doing so changes the timestamp on the file of when it was last modified.