SudoklifyArchitect
Creates a new instance of SudoklifyArchitect using a DSL-style lambda to configure SudokuSchemas.
This function allows for a more intuitive and readable way to create a SudoklifyArchitect by using a DSL-style lambda to directly configure the SudokuSchemas. It simplifies the process of setting up the Sudoku schemas and initializing the architect with those configurations.
Example:
val architect = SudoklifyArchitect {
SudokuSchemas {
add(schema1, schema2)
}
}
Content copied to clipboard
Return
A new SudoklifyArchitect initialized with the configured SudokuSchemas.
Parameters
block
A lambda function that configures the SudokuSchemas using a DSL-style approach. The lambda should call the SudokuSchemas.Builder methods to define the schemas.