Tandem Tales is a platform that enables short, paired storytelling exercises between two agents over ...
Definition Client.h:22
Role getPartner(Role role)
Returns the partner of this role.
Definition Role.cpp:4
Role stor(std::string s)
Returns the Role enum corresponding to the string value.
Definition Role.cpp:23
std::string rtos(Role role)
Returns the correct string value needed for the Tandem Tales Protocol for a given role value.
Definition Role.cpp:13
Role
Represents the two roles in a collaborative storytelling session: the Player, who typically controls ...
Definition Role.h:16
@ PLAYER
The player role, who controls one character, often the main character of the story.
Definition Role.h:27
@ GAME_MASTER
The game master role, who controls all characters except the player character and the environment.
Definition Role.h:21
@ NONE
No role, used as a "null" value.
Definition Role.h:32
std::ostream & operator<<(std::ostream &os, const Client &a)
Override stream insertion operator to allow printing the Client class.
Definition Client.cpp:556