#`/claim-victory` unreliable
3 messages · Page 1 of 1 (latest)
Here's what I've worked out:
- Seems:
{"type":"opponentGone","gone":true,"claimWinInSeconds":0}countdown events occur regardless of turn
2A./api/board/game{gameId}/claim-victoryonly functions when not board-api player's turn
2B./api/board/game{gameId}/claim-victoryreturns{"ok":true}even when it nopped when called on board-api player's turn.
If ^ is expected, I'm happy to block my client from attempting until it's opponent's turn and update the docs. Another option would be to allow calling regardless of turn. Either way probably makes sense to return an error on claim-victory failure.