@ -25,6 +25,11 @@ class Maze(abc.ABC):
def step(self) -> bool: # returns False when algorithm is done
pass
def run(self, i=1_000_000) -> bool:
for _ in range(i):
if not self.step(): return True
return False
def secondary(self, index: tuple[int,int]) -> bool: