Research Article

A Framework for Adaptive Game Presenters with Emotions and Social Comments

Table 4

A sample of common messages of the communication protocol (API) for race games.

Message IDMessage contentExplanation

Start raceNumber of players New game session begins
End raceList of players and positionsCurrent game session ends. The list of players is used to denote their order (who came first, whether a player was close enough to finish, whether they are left behind)
Route selectedRoute, miles, difficulty, day/night, forward/backward, locationNotifies the presenter about the selected route.
OvertakePlayer 1, player 2, timeNotifies the presenter whether a player is now ahead of another.
Gained bonusPlayer, bonusNotifies the presenter each time a player gets a bonus
Turbo boost Player, amountNotifies the presenter if a player uses turbo
Pit stopPlayer, elapsed timeNotifies for a player pit stop and the elapsed time
Checkpoint Player, checkpoint, timeNotifies whenever a player reaches a checkpoint
Pause/ResumeIs pausedThe game is paused/resumed