snake_move #16

Merged
s481834 merged 14 commits from snake_move into BFS 2024-04-24 17:41:47 +02:00
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()