Skip to main content
GET
/
game
/
state
get match state and scores
curl --request GET \
  --url http://localhost:3917/game/state
{
  "elapsed": 12.5,
  "mode": "deathmatch",
  "phase": "playing",
  "scores": [
    {
      "entity": 1,
      "score": 3
    }
  ]
}

Response

200 - application/json

Current match phase, mode, elapsed time, and per-entity scores. Returns an error field when no match exists yet.