def get_player_squares(self, player):
    '\n        Get all squares on the board owned by the specified player.\n        '
    return [index for index in range(1, (BoardConfig.total_squares + 1)) if (self.owner[index] == player)]
Get all squares on the board owned by the specified player.
def get_player_squares(self, player):
    '\n        \n        '
    return [index for index in range(1, (BoardConfig.total_squares + 1)) if (self.owner[index] == player)]