Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: Numberlink(int, int, int[][])

Declaration

public Numberlink(
    int width,
    int height,
    int[][] cellGroups
)

Summary

Constructor.

Parameters

intwidth Width of the whole puzzle grid.
intheight 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.