You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Continuation of discord...
When the other user resigns, there is no gameState response. Only gameFinish is received. Whereas the API documentation shows a final gameState with status and winner fields (which is what we need)
this: https://lichess.org/api#operation/boardGameStream
Looks like the final gameState response is indeed received for 'checkmate' scenarios. But no final gameState with winner/status is received when the lichess user resigns (on the web)
The text was updated successfully, but these errors were encountered:
Looks like a weird issue. If the lichess user resigns when it is the opponent's turn to play, I only get the gameFinish and dont get the gameState response. Opponent in this case is the user of the board API.
Example game: {"type":"gameFinish","game":{"id":"XU2wWbhi"}}
But if the lichess user resigns when its his turn, I get the gameFinish followed by the gameState response as expected!
Continuation of discord...
When the other user resigns, there is no gameState response. Only gameFinish is received. Whereas the API documentation shows a final gameState with status and winner fields (which is what we need)
this: https://lichess.org/api#operation/boardGameStream
Looks like the final gameState response is indeed received for 'checkmate' scenarios. But no final gameState with winner/status is received when the lichess user resigns (on the web)
The text was updated successfully, but these errors were encountered: