2.1 Catch the mouse

Scratch solution

View solution

This is just one of many possible solutions:

Backdrop 1:

when I receive [go v]
move_forward(3) :: custom
turn_left :: custom
move_forward(8) :: custom
turn_right :: custom
move_forward(2) :: custom

Backdrop 2:

when I receive [go v]
move_forward(4) :: custom
turn_left :: custom
move_forward(7) :: custom
turn_right :: custom
move_forward(1) :: custom
turn_left :: custom
move_forward(1) :: custom

Backdrop 3:

when I receive [go v]
turn_left :: custom
move_forward(6) :: custom
turn_right :: custom
move_forward(3) :: custom
turn_left :: custom
move_forward(2) :: custom
turn_right :: custom
move_forward(2) :: custom

Backdrop 4:

when I receive [go v]
move_forward(2) :: custom
turn_left :: custom
move_forward(8) :: custom
turn_right :: custom
move_forward(3) :: custom

Back to programming challenge