If they find themselves within two squares of each other, vertically or horizontally, they start to fight.
Luckily, they don't fight if they are diagonal from each other or separated by a rock.
Can you place them all in positions so that they won't end up fighting?
Slide them to move them and place them where you think they should be on the farm.
The correct answer to this puzzle would be the same even if there were no rocks.
Position a sheep near the middle of the farm.
Then make use of the diagonals to avoid horizontal or vertical proximity for the other sheep in the flock.
Place sheep immediately next to the rock, one horizontally and one vertically.
The correct positioning of the sheep lies on a diagonal across the farm, from one corner to another.
Place the sheep on the line from the top-right to the bottom-left.
Nearly there now...
The answer is as follows.