Skip to content

vyuh/sud.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sud

Generate or solve Sudoku puzzles.

Installation

npm install sud --save

Usage

var sud = require('sud')
var input_sudoku =
    '005070904600508002020000000000080500408000206001090000000000070300104005802030600'
    //perhaps the one with least clues having unique solution
var solutions = sud.list(input_sudoku,4)
console.log(JSON.stringify(solutions, null, 4))

About

Generate or solve sudoku puzzles.

Resources

License

Stars

Watchers

Forks

Packages

No packages published