Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: JigsawSudoku(string, int, int)

Declaration

public JigsawSudoku(
    string stringifiedRegions,
    int sideLength = 9,
    int minValue = 1
)

Summary

Constructs a Jigsaw Sudoku from a string representation of the regions.

Parameters

stringstringifiedRegions A string such as "A-C1,A-B2,A3;D-E1,C-D2,B-C3;F1-5,E2;D-E3-4,C-D5;E5,B-F6;A-C4,A-B5,A6" that describes the regions as coordinates in the same format as Constraint.TranslateCoordinates(string, int). This example is for a 6×6 grid.
intsideLength Width and height of the Sudoku grid.
intminValue Minimum value in the grid.