uncomment while loop
This commit is contained in:
parent
afb9d0e7dd
commit
0545233f43
@ -76,7 +76,7 @@ def main():
|
||||
elif event.type == pg.KEYDOWN:
|
||||
if event.key == pg.K_t:
|
||||
print('Starting to clear the sector')
|
||||
# while env.mine_count:
|
||||
while env.mine_count:
|
||||
print('-' * 20)
|
||||
# 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)
|
||||
|
Loading…
Reference in New Issue
Block a user