Init
Initializes the game board to the given dimensions.
Public Sub Init(
Optional ByVal Rows As Integer = 9,
Optional ByVal Cols As Integer = 9,
Optional ByVal MaxDigit As Byte = 9,
Optional ByVal Constraints As Constraints = Constraint_Row Or Constraint_Col Or Constraint_Region )
Parameters
- Rows
-
[ByVal]
Optional.
Integer.
The number of rows for the puzzle.
Default: 9
- Cols
-
[ByVal]
Optional.
Integer.
The number of columns for the puzzle.
Default: 9
- MaxDigit
-
[ByVal]
Optional.
Byte.
The highest digit symbol allowed. These are numbered consecutively from 1 to 255,
with 0 representing a blank square. These may be used literally as numeric digits, or can be used
to identify a particular symbol, color, letter, etc.
Default: 9
- Constraints
-
[ByVal]
Optional.
Constraints.
One or more Constraints values indicating what constraints will be enforced.
Default: Constraint_Row Or Constraint_Col Or Constraint_Region
Remarks
See Also
Project SuDokuLib Overview
Class SuDokuPuzzle Overview
SuDokuPuzzle Properties
SuDokuPuzzle Methods
GetIndexFromMatrix
IsGiven (get)