public class Creator extends Object
| Modifier and Type | Method and Description |
|---|---|
static GameMatrix |
createFull()
Creates a valid fully setup sudoku.
|
static Riddle |
createRiddle(GameMatrix in)
Creates a riddle setup sudoku.
|
static GameMatrix |
createVariant(GameMatrix matrix)
Creates a variant of a fully-filled game matrix.
|
public static GameMatrix createFull()
public static GameMatrix createVariant(GameMatrix matrix)
matrix - the input matrix to transform.IllegalArgumentException - if there are unset fields in the GameMatrix.public static Riddle createRiddle(GameMatrix in)
in - a fully set up (solved) and valid sudoku.Copyright © 2017. All rights reserved.