Aug-11-2018, 08:20 PM
You didn't assign isFoodOnScreen to True. You did comparison.
def spawnFood(self): if self.isFoodOnScreen == False: self.position = [random.randrange(1,50)*10,random.randrange(1,50)*10] self.isFoodOnScreen == True # You did comparison
99 percent of computer problems exists between chair and keyboard.