NuGet Package Sudoku Solver Lite

This is a portable and lightweight Sudoku solver implementation in C#.

It supports .Net Standard 1.0.

How to use

int[,] grid =
{
{0, 0, 0, 0, 0, 0, 0, 6, 7},
{0, 0, 0, 9, 0, 7, 4, 0, 3},
{0, 6, 0, 0, 0, 0, 1, 9, 0},
{1, 0, 0, 0, 7, 3, 0, 0, 0},
{0, 0, 0, 4, 0, 6, 0, 0, 0},
{0, 0, 0, 8, 1, 0, 0, 0, 4},
{0, 2, 1, 0, 0, 0, 0, 5, 0},
{8, 0, 7, 1, 0, 9, 0, 0, 0},
{3, 5, 0, 0, 0, 0, 0, 0, 0}
};

bool solved = SudokuSolver.Solve(grid);

if (solved)
{
// Print out the solution
for (int i = 0; i < 9; i++)
{
for (int j = 0; j < 9; j++)
{
Console.Write(grid[i, j] + " ");
}
Console.WriteLine();
}
}
else
{
Console.WriteLine("No solution");
}.

Info

Version: 1.0.1
Author(s): Zhiliang Xu
Last Update: Friday, September 1, 2017
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/zhiliangxu/SudokuSolver
NuGet Url: https://www.nuget.org/packages/Sudoku.Solver.Lite


Install
Install-Package Sudoku.Solver.Lite
dotnet add package Sudoku.Solver.Lite
paket add Sudoku.Solver.Lite
Sudoku.Solver.Lite Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.3

avg-downloads-per-day

0

days-since-last-release

1284