def wait(self, player_index):
    (a, h) = self.getState(player_index)
    if ((a == self.T) or (h == self.T)):
        return self.adopt(player_index)
    return (self.getState(player_index), (0, 0))
def wait(self, player_index):
    (a, h) = self.getState(player_index)
    if ((a == self.T) or (h == self.T)):
        return self.adopt(player_index)
    return (self.getState(player_index), (0, 0))