Skip to content

Submit turn moves

POST
/bot/game/{id}/move
curl --request POST \
--url https://play-api.jc.id.lv/bot/game/example/move \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "moves": [ "example" ] }'

Submit the turn’s micro-moves in UCI, one per rolled die. The verdict is synchronous.

id
required
string

Game id.

Media typeapplication/json
object
moves
required

One entry per rolled die; a root-to-leaf path of the legal-move tree.

Array<string>
Examplegenerated
{
"moves": [
"example"
]
}

The turn was applied.

Media typeapplication/json
object
applied
required
boolean
version

The resulting TurnPlayed version

integer | null
reason

Rejection reason when not applied.

string | null
Examplegenerated
{
"applied": true,
"version": 1,
"reason": "example"
}

No verdict within a few seconds — treat as fire-and-forget and watch the stream.

Refused (not your turn, illegal turn, game is over).

Media typeapplication/json
object
applied
required
boolean
version

The resulting TurnPlayed version

integer | null
reason

Rejection reason when not applied.

string | null
Examplegenerated
{
"applied": true,
"version": 1,
"reason": "example"
}