uncomment while loop

This commit is contained in:
matixezor 2021-05-18 18:44:28 +02:00
parent afb9d0e7dd
commit 0545233f43

View File

@ -76,7 +76,7 @@ def main():
elif event.type == pg.KEYDOWN: elif event.type == pg.KEYDOWN:
if event.key == pg.K_t: if event.key == pg.K_t:
print('Starting to clear the sector') print('Starting to clear the sector')
# while env.mine_count: while env.mine_count:
print('-' * 20) print('-' * 20)
# path, actions = breadth_first_search(env.field, agent.x, agent.y, agent.direction) # path, actions = breadth_first_search(env.field, agent.x, agent.y, agent.direction)
goal = breadth_first_search(env.field, agent.x, agent.y, agent.direction, True) goal = breadth_first_search(env.field, agent.x, agent.y, agent.direction, True)