Webhooks — tictactoe
Tic-tac-toe-specific webhook events, in addition to the standard events.
Events
| Event | When it fires |
|---|---|
tictactoe.fork | A player creates a position with two simultaneous winning threats |
tictactoe.fork
| Field | Type | Description |
|---|---|---|
playerId | string | Player who created the fork |
cell | [number,number] | [row, col] of the move that created the fork (0–2 each) |
threatCells | [number,number][] | The two cells that would complete a win |
{
"event": "tictactoe.fork",
"data": { "playerId": "user_123", "cell": [1, 2], "threatCells": [[0, 2], [2, 2]] }
}Beta Gamer GaaS API — questions? support@beta-gamer.com