python – How can I make the zombies in the program chase after other beings and eat them?

import random from numpy import sqrt class Being(): def __init__(self, limits, name): self.row = random.randint(0, limits[0]) self.col = random.randint(0, limits[1]) = name self.infected = False self.dead = False self.zombie = False def getRow(self): return self.row def getCol(self): return self.col def getName(self): return def lure(self, limits, beings): self.row += random.randint(-1, 1) self.col += random.randint(-1, … Read more