BFS #17

Merged
s481834 merged 20 commits from BFS into master 2024-04-24 17:44:08 +02:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 2c03c4857c - Show all commits

3
App.py
View File

@ -39,8 +39,7 @@ def init_demo(): #Demo purpose
traktor.reset_pos(pole)
bfsRoot = Tractor.BFS({"x": 0, "y": 0, "direction": "E", "hydradeIndex": traktor.slot_hydrate_dict})
bfsRoot.reverse()
print(bfsRoot)
# ui.render_text(string_to_print="traktor porusza się ścieżką bfs")
# ui.render_text_to_console(string_to_print="traktor porusza się ścieżką bfs")
traktor.move_by_root(bfsRoot, pole, [traktor.irrigateSlot])
start_flag=False
# demo_move()