How do you pass a turn with the realtime API?

Hello! I’m trying to figure out how to pass your turn with the realtime API. I noticed the “pass turn” event gets sent as a move with coordinates [-1, -1] from game/id/move. However, the game/move endpoint accepts an SGF coordinate format which doesn’t support negative numbers. I haven’t seen an endpoint to pass a turn. The v1/api/games/id/pass endpoint seems to always return a server error.

Has anyone figured out how to do it? Thanks in advance!

The website uses the websocket interface, and it looks like pass is denoted ".." (in contrast to the empty string in SGF)


I didn’t consider inspecting the traffic, much appreciated! That definitely worked.

1 Like