The IO (input/output) package defines the various message
types that can be sent between a server and client and provides some
utilities for serializing and deserializing objects as JSON.
Story worlds define the objects, concepts, and actions that
exist in a story, and story world models define the logic
for when actions can happen, how actions change the current state of the
world, when endings happen, etc.
An abstract adapter is used to configure a GsonBuilder to read and write objects that share a common
parent class, including abstract types like interfaces and abstract classes.
The connect message is sent from the server
to an agent as soon as the agent connects to
give details about which story worlds and agents are available for play.
The join message is the first message sent from an agent to the server
to provide the agent's credentials and its preferences for what story world,
role, and partner they want for their session.
The stop message can be sent from either the server or the agent to indicate that no more
turns will happen in the session (though reports may still
happen) and that the session should end soon.