9 lines
241 B
Python
9 lines
241 B
Python
def DFS(grid, avaliable_movement, gc_moveset):
|
|
if(moveset[-1] == (1,4) or len(avaliable_movement) == 0):
|
|
return gc_moveset
|
|
|
|
x,y = gc_moveset[-1]
|
|
move = avaliable_movement.pop()
|
|
|
|
## TUTAJ ZAIMPORTOWAC MOVEMENT
|
|
|