CSCI A201/A597

Assignment 7 (Seven)

Spring 2000


Due date
At the end of the lab Mar 9-10 Tuesday March 21, at 11:59pm
Late policy
Once the solution is posted no submissions are allowed.
Work policy
Working in groups is encouraged but please turn in your own version of the assignment.
Task
You have to write a program that makes use of a DrawingWindow and behaves like the demo posted. Please name your program with the name of your grader followed by the number of the assignment (which is 7) so you will have one of the following choices:

achandra7 Aswin
asasthan7 Aseem
dgerman7 Adrian
dheald7 David
jysuh7 Jung-Yul
raindurk7 Rahul
Then use the handin program provided to submit your code.

If you don't follow this naming convention your program may not be graded.

Grading
There are 5 functions that you need to implement:
  1. draw the grid
  2. erase and redraw
  3. quit program
  4. draw red square at point indicated by mouse
  5. draw the square centered on the cell the mouse was clicked on
You will get 20% for each implementing each one of these features.