def override(self, player_index):
    (a, h) = self.getState(player_index)
    if (a <= h):
        self.starting_points[player_index] = len(self.chain)
        self.hidden_lengths[player_index] = 0
        return (self.getState(player_index), (0, 10))
    self.chain = self.chain[:self.starting_points[player_index]]
    new_blocks = (str(player_index) * a)
    self.chain += new_blocks
    self.starting_points[player_index] = len(self.chain)
    self.hidden_lengths[player_index] = 0
    return (self.getState(player_index), (a, 0))
def override(self, player_index):
    (a, h) = self.getState(player_index)
    if (a <= h):
        self.starting_points[player_index] = len(self.chain)
        self.hidden_lengths[player_index] = 0
        return (self.getState(player_index), (0, 10))
    self.chain = self.chain[:self.starting_points[player_index]]
    new_blocks = (str(player_index) * a)
    self.chain += new_blocks
    self.starting_points[player_index] = len(self.chain)
    self.hidden_lengths[player_index] = 0
    return (self.getState(player_index), (a, 0))