def getRandomCorner(self):
    poses = [(1, 1), (1, (self.height - 2)), ((self.width - 2), 1), ((self.width - 2), (self.height - 2))]
    return random.choice(poses)
def getRandomCorner(self):
    poses = [(1, 1), (1, (self.height - 2)), ((self.width - 2), 1), ((self.width - 2), (self.height - 2))]
    return random.choice(poses)