-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathJSREADME
38 lines (36 loc) · 2.23 KB
/
JSREADME
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
This is the JavaScript version of qqwing. It is for generating and solving
Sudoku puzzles. See: http://qqwing.com/
This archive contains both the minimized and unminimized libraries. Only one
of the two needs to be used at one time. qqwing.js is a library file that can
be used by JavaScript applications that wish to generate and solve Sudoku
puzzles. qqwing-main.js is a command line application that can be run with
NodeJS:
node qqwing-main.js <options>
Sudoku solver and generator.
--generate <num> Generate new puzzles
--solve Solve all the puzzles from standard input
--difficulty <diff> Generate only simple, easy, intermediate, expert, or any
--symmetry <sym> Symmetry: none, rotate90, rotate180, mirror, flip, or random
--puzzle Print the puzzle (default when generating)
--nopuzzle Do not print the puzzle (default when solving)
--solution Print the solution (default when solving)
--nosolution Do not print the solution (default when generating)
--stats Print statistics about moves used to solve the puzzle
--nostats Do not print statistics (default)
--timer Print time to generate or solve each puzzle
--notimer Do not print solve or generation times (default)
--count-solutions Count the number of solutions to puzzles
--nocount-solutions Do not count the number of solutions (default)
--history Print trial and error used when solving
--nohistory Do not print trial and error to solve (default)
--instructions Print the steps (at least 81) needed to solve the puzzle
--noinstructions Do not print steps to solve (default)
--log-history Print trial and error to solve as it happens
--nolog-history Do not print trial and error to solve as it happens
--one-line Print puzzles on one line of 81 characters
--compact Print puzzles on 9 lines of 9 characters
--readable Print puzzles in human readable form (default)
--csv Output CSV format with one line puzzles
--help Print this message
--about Author and license information
--version Display current version number