Repository navigation
This patch release validates Sudoku inputs before solving and rejects contradictory givens without expensive backtracking.
- Reject boards with the wrong length or cells other than
nulland integers from 0 through 8 (#14). - Reject duplicate givens in any row, column, or 3×3 box before starting the search (#16).
- Include the corrected shuffle algorithm from #11.
- List distribution directories explicitly so npm includes the browser build, TypeScript declarations, and source maps.
- Refresh distributed source maps and add regression tests for malformed boards and duplicate givens, including zero.
Valid puzzles keep the same API and behavior. Thanks to @YiheHuang for both fixes.