api For board[x][y], x -- column, y -- row. For action, action//8 -- x(column), action%8 -- y(row) player can be: -1 / 1