Fund. CS II (CS152 2004F)

Class 31: Project Discussion

Back to Stacks and Their Implementation. On to Queues and Their Implementation.

Held: Tuesday, 26 October 2004

Summary: Today we finalize the basic specification of the key interfaces for our game.

Related Pages:

Assignments

Overview:

Action Methods

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

Strings vs. Objects

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

Core Methods

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.

Simultaneous Users

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

Back to Stacks and Their Implementation. On to Queues and Their Implementation.

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:20 2004.
The source to the document was last modified on Thu Aug 26 20:22:23 2004.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS152/2004F/Outlines/outline.31.html.

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

Samuel A. Rebelsky, rebelsky@grinnell.edu