SudokuSpice 3.0.0

An efficient sudoku solving and generating library targeting .NET 5.

This library is designed to work as a framework for solving or generating any Sudoku-style puzzles. For example, you can implement custom rules, or mix-and-match the provided rules, to solve or generate whatever puzzle you need.


Install-Package SudokuSpice -Version 3.0.0
dotnet add package SudokuSpice --version 3.0.0
<PackageReference Include="SudokuSpice" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SudokuSpice --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SudokuSpice, 3.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SudokuSpice as a Cake Addin
#addin nuget:?package=SudokuSpice&version=3.0.0

// Install SudokuSpice as a Cake Tool
#tool nuget:?package=SudokuSpice&version=3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version 3 has lots of changes!

* Updated to .NET 5 (dropped support for older versions)
* The rule-based and constraint-based APIs have been unified as much as possible (note: many breaking changes).
* There is now a single PuzzleGenerator that works with any IPuzzleSolver implementation.
* Solvers and generators are now generic to reduce casting.
* Performance has been improved across the board.
* The constraint-based library has been simplified around the concepts of Objectives and Possibilities, and extended from an exact-cover matrix to a more expressive exact-cover graph. This enables more complex constraints.
* Added a rule and constraint for implementing magic squares.
* Rule-based code now uses a new puzzle type that combines IPuzzle and IPossibleValues: PuzzleWithPossibleValues!
* More tests.
* Loads of other little changes.

  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.0 123 3/7/2021
2.0.0 267 5/14/2020
1.1.0 184 4/19/2020
1.0.1 256 4/11/2020
1.0.0 222 4/11/2020