{"inline_daily":{"sudoku-solver-generator":{"tab_play":"Play","tab_solve":"Solve a grid","board_play":"Game grid","board_solve":"Grid to solve","cell_empty":"Row {{row}}, column {{col}}, empty","cell_given":"Row {{row}}, column {{col}}, {{value}}, given digit","cell_filled":"Row {{row}}, column {{col}}, {{value}}","cell_error":"Row {{row}}, column {{col}}, {{value}}, error","notes_on":"Notes on","notes_off":"Notes","show_errors":"Highlight errors","keys_hint":"Arrow keys to move, 1 to 9 to write, Backspace or 0 to erase, N for notes.","keys_hint_solve":"Arrow keys to move, 1 to 9 to write, Backspace or 0 to erase.","erase":"Erase the cell","won":"Well done, grid solved with no errors!","filled_wrong":"The grid is full but contains errors (wrong cells: {{n}}). Turn on \"Highlight errors\" to see them.","revealed":"Solution shown. Generate a new grid to play again.","current_title":"Current grid","rating":"Estimated level: {{level}} ({{technique}}), {{clues}} clues.","reset":"Clear my digits","reveal":"Show the solution","new_title":"New grid","level_easy":"Easy","level_medium":"Medium","level_hard":"Hard","level_expert":"Expert","tech_naked":"naked singles","tech_hidden":"hidden singles","tech_locked":"locked candidates","tech_search":"beyond basic techniques","generating":"Generating…","new_game":"Generate a grid","levels_note":"Levels estimated by the tool: easy = naked singles, medium = hidden singles, hard = locked candidates, expert = beyond. Every generated grid has a unique solution.","solve_intro":"Enter the given digits of your grid, then run the solver.","solve":"Solve","clear":"Clear","example":"Sample grid","clues_count":"Clues entered: {{n}} (at least 17 for a unique solution)","solve_unique":"Unique solution found.","solve_multiple":"This grid has several solutions; one of them is shown.","solve_none":"This grid has no solution.","solve_conflict":"The same digit appears twice in a row, column or block (cells in red).","solve_aborted":"Calculation stopped after 150,000 attempts: add clues and try again.","play_this":"Play this grid","solver_note":"The solver fills the cell with the fewest possible digits first and stops at 2 solutions, which is enough to tell whether the grid has none, one or several."}},"docs_daily":{"tools":{"sudoku-solver-generator":{"content":{"title":"How the solver solves and rates a sudoku grid","intro":"Nikoli's rule: every row, every column and each of the nine 3 × 3 blocks contains each digit from 1 to 9 once. A well-posed grid has exactly one solution, and it needs at least 17 clues.","details":"

Solving

For each empty cell, the solver works out the digits still possible: those missing from its row, its column and its block at the same time, which covers 20 neighbouring cells. It fills the most constrained cell first, tries its candidates one by one and backtracks at the first contradiction. It stops as soon as it has found 2 solutions, which is enough to tell whether the grid has none, exactly one or several.

Example on the starting grid

Cell at row 8, column 3: the row holds 9, 4, 8, 1 and 2; the column 3, 6, 8 and 5; the block 9 and 4. The digits already taken are 1, 2, 3, 4, 5, 6, 8 and 9, so only 7 is left, and it is indeed the answer. This is a naked single.

Generating and rating

The generator fills a complete grid at random, then removes digits one by one in random order. A removal is kept only if the grid still has a unique solution and does not require a technique harder than the target level. The difficulty is an in-house estimate: easy if naked singles are enough, medium if hidden singles are needed (only one possible place for a digit in a row, column or block), hard if locked candidates are needed, expert when these techniques are no longer enough. The clue floors of 36, 30, 26 and 22 are settings of the tool.

Limits

Sources and dates: Nikoli, sudoku rules; McGuire, Tugemann and Civario, There is no 16-Clue Sudoku (arXiv, 2012, revised 2013) (checked on 29/10/2026)

"},"faqs":[{"question":"What is the minimum number of clues for a sudoku?","answer":"17. An exhaustive computer search (McGuire, Tugemann and Civario, 2012) found no 16-clue grid with a single solution. The grids generated here have 22 to 36 clues depending on the level."},{"question":"How can I check that a sudoku has only one solution?","answer":"Type it into the Solve tab. The solver looks for up to 2 solutions: if it finds only one, the solution is unique; if it finds 2, the grid is ill-posed and the tool shows one of them."},{"question":"How is the difficulty estimated?","answer":"By the hardest technique required: easy with naked singles only, medium with hidden singles, hard with locked candidates, expert beyond that. It is an in-house estimate, not an official scale."},{"question":"How do I note several possible digits in a cell?","answer":"Turn on notes with the pencil button or the N key, then type digits: each one is added to or removed from the cell. When you place a digit, it is removed automatically from the notes of the 20 neighbouring cells."}]}}}}