What types of communications can occur in a room?
Clients can send commands that look like XML elements. Commands include: • sendall – send message to all users in room. Useful for broadcasting information. • senduser – send a message to a specific user. • locknewthing – create a generic “thing” that can be locked, modified, and unlocked by a user. The locking allows edits to be atomic so that multiple users do not overwrite each others edits. This is similar to a source code control system but acts on temporary memory based objects. Examples of “things” are: a melody, the number of trolls under a bridge, the state of a tic-tac-toe board, etc. Modifications to things are broadcast to all users in a room that have subscribed to changes.