Calculate the index of the fields of each player