{ id: 0, // game id state: "ended", // "waiting", "playing", "ended" grid: [ // the nine game grid cells "X", " ", " ", "X", "O", " ", "X", "O", " " ], winner: "X", // the player who won, if there is one. player: "X", // the user's color next: "O" // the color of the player next in turn }