You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Copy-paste this to https://reeborg.ca/reeborg.html?lang=en&mode=python&menu=worlds%2Fmenus%2Freeborg_intro_en.json&name=Hurdle%204&url=worlds%2Ftutorial_en%2Fhurdle4.json
# Also valid for Hurdle 1, Hurdle 2 & Hurdle 3.
def turn_right():
turn_left()
turn_left()
turn_left()
def variable_jump():
turn_left()
while wall_on_right():
move()
turn_right()
move()
turn_right()
# "fall" until you hit the ground
while front_is_clear():
move()
# no need for this turn once the finish is reached