Skip to content

gameOver

Sent when the game has ended — a player has won, lost, or the game has drawn. This is a terminal, informational prompt: it announces the result so the client can tear down the board and show the outcome.

input.type is "gameOver". There are no other fields — input is just { "type": "gameOver" }.

type GameOverInput = Record<string, never>;

None. The game is over, so the client does not reply to this prompt — there is no output message.

{
"promptId": 42,
"decidingPlayerId": "player-0",
"input": { "type": "gameOver" }
}