SaveText.Ru

AMOGUS
  1. if wall_from_up() and wall_from_right() and free_from_down() and free_from_left():
  2.     move_down()
  3. elif free_from_down() and wall_from_up() and wall_from_right() and wall_from_left():
  4.     move_down()
  5. while wall_from_down() and wall_from_up() and free_from_left():
  6.     move_left()
  7.     if free_from_down():
  8.         move_down()

Share with your friends:

Print