game = { "state": "playing", // or "waiting" or "won" or "tie" "board": [ // game board, 0 for empty cells, 1 or 2 for filled cells. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ], "next": 1, // 1 or 2, the player whose turn it is, the winner if state is "won" }