fludoku 3.0.0 copy "fludoku: ^3.0.0" to clipboard
fludoku: ^3.0.0 copied to clipboard

A package for generating and solving Sudoku puzzles.

3.0.0 #

  • generateBoard function renamed to generateSudokuPuzzle to better reflect what it generates. A Sudoku puzzle is a board that is known to have only 1 solution. In addition, the use of terms board and puzzle in the documentation is more accurate than in the previous version.
  • A read-only property, readOnlyPositions (pum non-intended :)) has been added to the Board class. That property is initialized at construction time to contain the (row, col) positions of the non-zero initial values in the board and should make it easier for clients of the library to keep track of which positions are part of the original puzzle and thus not editable by a Sudoku player.

2.0.0 #

  • Added a timeout parameter to the generateBoard function. All the parameters of the function are now named and optional.
  • Removed the artificial limit on the number of empty positions of generated puzzles with dimensions 16 or 25.

Motivated by https://github.com/raulcostajunior/fludoku/issues/1 (thanks @ahmedatef286 for reporting!)

1.0.0 #

  • Initial version with full capabilities (generator lib completed)

    Know issue: to avoid long generation times (several minutes) the number of maximum empty positions on generated puzzles is artificially limited to 81. In practice, this affects only boards with dimensions 16 or 25.

0.6.0 #

  • Initial version (without Board generation capability)
4
likes
160
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

A package for generating and solving Sudoku puzzles.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

fixnum

More

Packages that depend on fludoku