Messages sent between the gamemaster and a menugod instance.
More...
Messages sent between the gamemaster and a menugod instance.
Capabilities of this GameMaster
2 "gamemodes":[
"domination"],
3 "durations":[90.0, 120.0]
Start a game
duration is an index for the capabilities::durations array
3 {
"name":
"Player1",
"color":
"00FF00"},
4 {
"name":
"Player2",
"color":
"FF0000"}
6 "game": {
"mode":
"domination",
"duration":0}
Continuous information about current game state
3 "score": {
"type":
"int",
"values":[200,182]},
4 "area": {
"type":
"bar",
"values":[0.3,0.25]}
6 "consoleoutput":{
"blablabla"}
Abort a game
- Warning
- any menugod->gamemaster communication aborts!
The game is over. Use last \ref gamestart data as score
protocol or state machine error