Creates solver object
2d board array
optional parameter specifying order to apply strategies
Optional notes: string[][]optional parameter specifying initial state of the notes (one array with an array for each cell in order)
Optional solution: string[][]Private algorithmPrivate allPrivate boardPrivate cellPrivate emptyPrivate hintPrivate placedPrivate solutionPrivate solvedPrivate addPrivate applyGets solution array if solved, otherwise throws error
solution array
CustomError Thrown if puzzle isn't solved
Private isTakes the next step in solving puzzle
hint used or null if finished
CustomError Thrown if board is unsolvable
Private placePrivate removePrivate setPrivate setPrivate setGenerated using TypeDoc
Constructed using 2d board array Returns: Strategy used to solve each step or null if solved or unsolvable error Solution 2d board array