Draw a closed loop through the diagram by connecting some of the dots horizontally or vertically. The loop is not allowed to touch or cross itself. The digits give the number of loop segments directly above, under, or next to the digit. Some puzzles contain wolves and sheep. In these puzzles all sheep are supposed to be contained within the loop (the fence), while all the wolves should be kept outside. More information.