diff --git a/search/movement_logic.py b/search/movement_logic.py index eaec4a77a20242a50c980aaff9a16070ba9b0f07..0fe2dfccf6656aa5e6c6489e6f0d07fa0e70bfe6 100644 --- a/search/movement_logic.py +++ b/search/movement_logic.py @@ -153,7 +153,7 @@ def swing_to_tile_2(token, x): if position == DOWN_RIGHT: return slide_down_right(slide_down_right(token)) -def swing_to_tile_2(token, x): +def swing_to_tile_3(token, x): position = get_relative_position(token, x) if position == LEFT: @@ -184,8 +184,8 @@ LEFT = 1 RIGHT = 2 UP_LEFT = 3 UP_RIGHT = 4 -DOWN_LEFT =5 -DOWN_RIGHT =6 +DOWN_LEFT = 5 +DOWN_RIGHT = 6 """ return the number represent the location of x relative to the token