Find a loop that moves, horizontally, vertically, and diagonally that passes through all of the green squares, none of the red squares, and some of the white squares. Only shallow 135o turns are allowed. No square is visited twice, though the loop can cross itself.
The solutions are here.