SudokuSpice 3.0.0

.NET 5.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package SudokuSpice --version 3.0.0
NuGet\Install-Package SudokuSpice -Version 3.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#r "nuget: SudokuSpice, 3.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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

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 Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
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.2 491 11/12/2022
3.2.1 397 9/19/2021
3.2.0 341 9/19/2021
3.1.0 284 8/23/2021
3.0.0 407 3/7/2021
2.0.0 513 5/14/2020
1.1.0 418 4/19/2020
1.0.1 489 4/11/2020
1.0.0 455 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.