sudoku_solver_generator 2.1.0+1  sudoku_solver_generator: ^2.1.0+1 copied to clipboard
sudoku_solver_generator: ^2.1.0+1 copied to clipboard
A Dart library containing tools related to Sudoku puzzles. This includes generating, solving and handling puzzles.
2.1.0+1 [17-06-2021] #
- Updated Documentation
- Fixed usage example in README.md
 
- Fixed usage example in 
2.1.0 [17-06-2021] #
- 
BREAKING CHANGE - Bool parameter animatedhas been removed fromSudokuUtilities.printSudoku()
- This is because this breaks support for exporting to web (dart2js)
 
- Bool parameter 
- 
Added back support for dart2js 
2.0.0 [14-06-2021] #
- 
BREAKING CHANGE - If you manually specified emptySquaresforSudokuGenerator()then it will break as it is a named parameter now
- If the manually specified emptySquaresis more than 54 then it will break as it cannot generate a unique solution and will throw aUnlikelyUniqueSolutionException
- Fix: SudokuGenerator(emptySquares: 54)instead ofSudokuGenerator(54)
- Fix: SudokuGenerator(emptySquares: 60, uniqueSolution: false)ifemptySquaresis more than 54
 
- If you manually specified 
- 
Added the bool parameter uniqueSolutiontoSudokuGenerator()to specify if a puzzle should have a unique solution- Defaults to true
- UnlikelyUniqueSolutionExceptionis thrown if- emptySquaresis- > 54
- This is because a unique solution is unlikely if there are less than 27clues
- Fixes the known issue
 
- Defaults to 
- 
Added function SudokuUtilities.hasUniqueSolution()to check if a puzzle has a unique solution
- 
Improved function SudokuUtilities.printSudoku()- Improved the aesthetics of the output by adding spaces and new lines and removing commas and brackets
- Added a bool parameter animatedto animate it by printing the numbers one by one
 
- 
Improved documentation 
1.1.0 [08-06-2021] #
- 
Improved checking if the Sudoku configuration is valid - SudokuUtilities.isValidConfiguration()now checks for invalid values in the puzzle
- {1, 2, 3, 4, 5, 6, 7, 8, 9, 0, null}are considered valid
 
- 
Fixed RangeError in SudokuUtilities.to2D()if Sudoku dimensions aren't valid
1.0.0+2 [06-06-2021] #
- Updated Documentation
- Description in pubspec.yaml
 
- Description in 
1.0.0+1 [06-06-2021] #
- Updated Documentation
- Description in README.md
- Usage in README.md
 
- Description in 
1.0.0 [06-06-2021] #
- First Release