Saint Louis University |
Computer Science 146
|
Dept. of Math & Computer Science |
Topic: Deleting Fish
Due:
4:00pm Wednesday, 1 May 2013
Related Reading: notes on inheritance
Please make sure you adhere to the policies on academic integrity.
For this assignment, the entire class will work together to design and implement a solution.
We wish to add the following feature to our fish simulation. During each step of the simulation, each fish should have an independent probability of 0.1 of dying, in which case it should be removed from the environment altogether.
Your goal is to determine how to refactor the code base to support this functionality.
In order to work together, I have created a single shared directory on turing at /Public/goldwasser/146/deletion. Each of you has both read and write permission for the directory and all files within. You may collectively make changes to the source code (but make sure it becomes clear who is editing what).
You do not need to submit anything. I will use the shared directory as the final submission. My hope is that the group can complete this assignment using only the in-class time on April 24 and May 1, hence the deadline of 4pm on May 1.