Programming Assignment 05/06


Due: Week of Oct. 3 in lab


Write a program to simulate a fish randomly swimming around an aquarium. Below are the details for the assignment:

Press play to show example video. Note the video is stretched width-wise and is not representative of the real example program.

Bonus. Add a shark to the aquarium. Details:

You can also earn bonus for making a prettier simulation.

This assignment will be graded as two separate programming assignments. Part one of the grade focuses on the final product. Did you pay attention to detail and implement the simulation/drawing as specified. Part two of the grade is focused on implementing components of the program into functions. Each portion is graded out of 100 points.


Grading

Each assignment is graded out of 100% based on a combination of the criteria listed in the assignment description and programming style (e.g., good comments and naming) -- following instructions is extremely important in computer science, train yourself to think like the computer; programming style is important to be able to communicate your solutions to another programmer; both of which you are graded upon.

Specific instructions. Failure to do these steps will result in a loss of points.

Turn in instructions. Each programming assignment is to be turned in before your lab section. You will turn in a soft copy of the assignment (.java or .zip for multiple java files) through blackboard. You will also turn in a hard copy of the assignment in your lab section with a signed coverpage (each program should start a new page of the hard copy).

If there are any discrepencies in grades please see the instructor during his office hours or by appointment (do not discuss with the lab assistants or graders).