Declaration
public Numberlink(
int width,
int height,
int[][] cellGroups
)
Summary
Constructor.
Parameters
int | width |
Width of the whole puzzle grid. |
int | height |
Height of the whole puzzle grid. |
int[][] | cellGroups |
Specifies sets of grid coordinates that must be linked in pairs by paths. For a traditional Numberlink in
which pairs of digits are printed in the grid, each set should consist of two cells with the same digit in
them. It is permitted to specify larger (even-sized) groups, in which case the solver must determine how they
link up in pairs. |