def giveBirth(self):
     self.changeEnergy(-BIRTHENERGY)
     babyname = randomName.randShortName()+self.name[-3:]
     bx = self.x + random.randrange(-10,10)
     by = self.y + random.randrange(-10,10)
     blife = self.maxlife
     baby=Creature(babyname,bx,by,life=blife)
     return baby
def randCreature():
    x = random.randrange(10,90)
    y = random.randrange(10,90)
    name = randomName.randShortName()
    bob = Creature(name,x,y)
    return bob