Socket
Socket
Sign inDemoInstall

sudoku

Package Overview
Dependencies
0
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sudoku

Sudoku generator and solver for node.js and Web


Version published
Weekly downloads
44
decreased by-8.33%
Maintainers
2
Install size
59.6 kB
Created
Weekly downloads
 

Readme

Source

sudoku

Sudoku generator and solver for node.js and Web.

Live demo

http://blago.dachev.com

Installation

    $ npm install sudoku

Usage

    var sudoku = require('sudoku');

    var puzzle     = sudoku.makepuzzle();
    var solution   = sudoku.solvepuzzle(puzzle);
    var difficulty = sudoku.ratepuzzle(puzzle, 4);

OR

    import { makepuzzle, solvepuzzle, ratepuzzle } from "sudoku";

License

Copyright 2010, Blagovest Dachev.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Keywords

FAQs

Last updated on 22 Nov 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc