This adapter does not use configuration settings.
CreatePuzzles
|
Generates one or more Puzzles
details
Arguments
Name
|
Description
|
Default |
count
|
Number of puzzles to create |
1 |
level
|
The difficulty level for the puzzle (0: any difficuly (faster), 1:easy, 2:medium, 3: hard, 4: expert) |
0 |
SQL Call
exec sudoku.CreatePuzzles
Http Call
/bsc/sudoku/createpuzzles
Output Columns
String grid | | String solution | | String digits | | Int32 level | |
|
GetComplexity
|
Calculates the complexity of the current game (or a Sudoku grid provided)
details
Arguments
Name
|
Description
|
Default |
grid
|
The grid to use (does not load the grid as a new game) |
|
SQL Call
exec sudoku.GetComplexity
Http Call
/bsc/sudoku/getcomplexity
Output Columns
Int32 complexity | | Int32 iterations | |
|
HasSingleSolution
|
Checks that a grid has a single solution
details
Arguments
Name
|
Description
|
Default |
grid R
|
The grid to use |
|
SQL Call
exec sudoku.HasSingleSolution '...45...935...92.....62......4......86....1.......6.3.....7145...1........78...12'
Http Call
/bsc/sudoku/hassinglesolution
Output Columns
|
LoadGrid
|
Load a specific Grid as the puzzle to solve
details
Arguments
Name
|
Description
|
Default |
grid R
|
The grid to load |
|
SQL Call
exec sudoku.LoadGrid '...45...935...92.....62......4......86....1.......6.3.....7145...1........78...12'
Http Call
/bsc/sudoku/loadgrid
Output Columns
String A | | String B | | String C | | String l1 | | String D | | String E | | String F | | String l2 | | String G | | String H | | String I | |
|
Mark
|
Marks a cell with a specific digit (or erases it); will optionally fail if not correct.
details
Arguments
Name
|
Description
|
Default |
cell R
|
The cell to mark (row + col: B2 or D7 for example) |
|
value R
|
The value of the cell (must be between 1 and 9, or 0 to remove a value) |
|
failOnError
|
When 1 will not set the value if incorrect and will return a warning |
True |
SQL Call
exec sudoku.Mark 'B3', 7
Http Call
/bsc/sudoku/mark
Output Columns
String A | | String B | | String C | | String l1 | | String D | | String E | | String F | | String l2 | | String G | | String H | | String I | |
|
Show
|
Displays the current Sudoku game or a grid provided
details
Arguments
Name
|
Description
|
Default |
grid
|
The grid to display (does not load the grid as a new game) |
|
SQL Call
exec sudoku.Show
Http Call
/bsc/sudoku/show
Output Columns
String A | | String B | | String C | | String l1 | | String D | | String E | | String F | | String l2 | | String G | | String H | | String I | |
|
ShowAll
|
Displays the current Sudoku game or a grid provided and all possible values in each cell
details
Arguments
Name
|
Description
|
Default |
grid
|
The grid to display (does not load the grid as a new game) |
|
SQL Call
exec sudoku.ShowAll
Http Call
/bsc/sudoku/showall
Output Columns
String A | | String B | | String C | | String l1 | | String D | | String E | | String F | | String l2 | | String G | | String H | | String I | |
|
ShowRaw
|
Displays the current Sudoku game as a raw puzzle definition and optionally the solution
details
Arguments
Name
|
Description
|
Default |
showSolution
|
When 1, display the solution as well |
|
SQL Call
exec sudoku.ShowRaw
Http Call
/bsc/sudoku/showraw
Output Columns
|
Solve
|
Solves the current game or the grid provided.
details
Arguments
Name
|
Description
|
Default |
grid
|
The grid to solve (ex: ...45...935...92.....62......4......86....1.......6.3.....7145...1........78...12) |
|
SQL Call
exec sudoku.solve exec sudoku.solve '...45...935...92.....62......4......86....1.......6.3.....7145...1........78...12'
Http Call
/bsc/sudoku/solve
Output Columns
String A | | String B | | String C | | String l1 | | String D | | String E | | String F | | String l2 | | String G | | String H | | String I | |
|
Start
|
Starts a new Sudoku game
details
Arguments
Name
|
Description
|
Default |
level
|
The difficulty level for the puzzle (1:easy, 2:medium, 3: hard, 4: expert) |
1 |
SQL Call
exec sudoku.start
Http Call
/bsc/sudoku/start
Output Columns
String A | | String B | | String C | | String l1 | | String D | | String E | | String F | | String l2 | | String G | | String H | | String I | |
|