Fund. CS II (CS152 2004F)

Project parts due week 7: Basics

Due: Tuesday, 12 October 2004

World Model Group

a. Create a Java interface with appropriate documentation that specifies the methods you expect others to call. If you return objects (e.g., someone might pick up a Book), you should also create interfaces for those objects.

b. Determine a set of characteristics that characters should have.

Network Group

Start reading about Sockets in Java. Prepare a short summary.

UI Group

a. Write a short narrative about an interaction with a user (what the user types, what the system might type in response).

b. Annotate that narrative with the calls you expect to have to make to the world to provide that interaction.

Event Group

a. Create a Java interface for your collection of events and for individual events.

b. Write a short narrative about an interaction with a user (what the user types, what the system might type in response).

GUI Group

Read the documentation on Swing at http://java.sun.com/docs/books/tutorial/uiswing/index.html.

Attempt to create a Swing program with two buttons that pops up a simple alert box in response to someone clicking on a button.

AI Group

a. What events should NPCs respond to?

b. Start to diagram the logic by which an NPC will decide how to respond to a few of these events.

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 Wed Oct 6 10:38:34 2004.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS152/2004F/Homework/project.07.html.

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

Samuel A. Rebelsky, rebelsky@grinnell.edu