Course Home | Assignments | Computing Resources | Lab Hours/Tutoring | Questionnaire | Schedule | Submit

Saint Louis University

Computer Science 146
Object-Oriented Practicum

Michael Goldwasser

Spring 2013

Dept. of Math & Computer Science

Assignment 08

Deleting Fish

Overview

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.


Table of Contents


Collaboration Policy

For this assignment, the entire class will work together to design and implement a solution.


Your task

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).


Submitting your project

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.


Michael Goldwasser
CSCI 146, Spring 2013
Last modified: Wednesday, 24 April 2013
Course Home | Assignments | Computing Resources | Lab Hours/Tutoring | Questionnaire | Schedule | Submit