SudokuSpice 3.0.0

.NET 5.0
There is a newer version of this package available.
See the version list below for details.
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.

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.


Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • 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 Downloads Last updated
3.2.1 234 9/19/2021
3.2.0 196 9/19/2021
3.1.0 140 8/23/2021
3.0.0 256 3/7/2021
2.0.0 370 5/14/2020
1.1.0 275 4/19/2020
1.0.1 355 4/11/2020
1.0.0 314 4/11/2020

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.