0.2.0 • Published 8 years ago

sudoku-engine v0.2.0

Weekly downloads
18
License
-
Repository
github
Last release
8 years ago

Sudoku Engine

Everything you need to build your own sudoku tool/app.

Installation

npm install --save sudoku-engine

Usage

const sudoku = require('sudoku-engine')
const board = sudoku.generateSolution()

sudoku.printBoard(board)

API

.generateSolution() -> Board

Generate and return a solved board.

.validateSolution(board) -> Boolean

Validate that a board holds a valid solution. Returns a boolean.

.printBoard(board)

Prints a board to the console.

0.2.0

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago