Fund. CS II (CS152 2004F)

Project parts due week 8: Refine World Design

Due: Tuesday, 26 October 2004

Everyone must do the following.

a. Decide whether we're better off putting our central action methods within individual classes (e.g., the interactWith(String verb, String person) method) or within the big World class, which will be responsible for keeping track of things (e.g., the interact(String actor, String verb, String target) method).

b. Decide whether it makes sense to take strings that name objects as parameters or the objects themselves.

c. Completely specify a small core set of methods for the four base classes: World, Place, Person, and Thing. You should think carefully about the parameter types and return types.

d. Think about simultaneous users: How do we notify one person that someone else has said something to them?

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Wed Dec 8 10:37:00 2004.
The source to the document was last modified on Tue Oct 12 12:18:33 2004.
This document may be found at

You may wish to validate this document's HTML ; Valid CSS! ; Check with Bobby

Samuel A. Rebelsky,