A local, self-contained edge-matching solver

Crazy Sheep

Place all sixteen tiles in a 4-by-4 tray so every joining sheep is the same colour and connects front-to-rear. Tiles may be turned any of four ways.

i Click Solve the puzzle to run a real recursive backtracking search in your browser. Nothing is uploaded or fetched. The illustrated boards are generated from the solver’s returned layouts.

Solver workbench

The large board shows the selected solution.
Ready to search.
Distinct layouts Board rotations and identical-twin tile swaps are merged.
Search nodes Recursive placements tested.
Search time Measured in this browser.
White sheep
Brown sheep
Gray sheep
Black sheep