def update(self): self.rect.x += self.speed if self.rect.x < 0 or self.rect.x > screen_width - self.rect.width: self.speed *= -1

Host: "Oh no! A muddy patch is coming! Our contestant will have to navigate through it quickly to avoid getting stuck. And look out for those obstacles – they might slow our contestant down!"