Game settings
message State {
// Required field to indicate the player who should be making the next move
// Values = 0 or 1
int32 player_turn_idx = 1;
// The array is stored in row major order, so index 0 is the top left and
// last index is the bottom right. In a size 2x2 board, index 1 is the
// top right board.
repeated Box board = 2;
// Number of horizontal boxes in the grid
int32 board_width = 3;
// Number of vertical boxes in the grid
int32 board_height = 4;
}Last updated