Declaration
public static int[] CalculateSlitherlinkClues(
bool[] grid,
int width
)
Summary
Returns an array containing all of the Slitherlink clues for the specified grid.
Parameters
bool[] | grid |
A filled grid of pixels. |
int | width |
The width of the grid. The height is assumed to be grid.Length − width. |
Remarks
This method will not check whether the grid is a valid Slitherlink (a single contiguous region with no holes).