

def reset(self):
    x = self.rng.choice(range((self.size * 2), (self.SCREEN_WIDTH - (self.size * 2)), self.size))
    y = self.rng.choice(range(self.size, (self.SCREEN_HEIGHT / 2), self.size))
    self.rect.center = (x, ((- 1) * y))

dataset/ETHPy150Open ntasfi/PyGame-Learning-Environment/ple/games/catcher.py Fruit.reset/original