# Building a fair Sudoku

By Soddoo Editorial Team

[Original article](https://soddoo.com/blog/building-a-fair-sudoku/)

Generating a completed Sudoku grid is the easy part. Turning it into a puzzle means removing values without allowing a second solution.

A common generator starts with a valid filled grid, removes one clue, and asks a solver how many solutions remain. If the answer is still one, the removal can stay. If it creates ambiguity, the clue goes back.

Recent research treats that construction step as its own optimization problem. A 2025 study on [Sudoku generation with mathematical programming](https://www.sciencedirect.com/science/article/pii/S0957417425013326) describes methods for producing unique puzzles while controlling how clues are distributed across rows, columns, boxes, and values.

Uniqueness only proves that the puzzle has one destination. It does not prove that a person can reach it with the techniques the difficulty label promises.

A fair generator therefore needs a second solver that behaves more like a human. It can attempt singles, locked candidates, pairs, and other named strategies in order, then record the hardest step required.

Research on [strategy-solvable Sudoku generation](https://www.mdpi.com/1999-4893/13/7/171) makes this distinction explicit. The target is a unique puzzle whose solution can also be derived through a chosen set of techniques.

## Why clue counts mislead

Two puzzles with the same number of clues can ask very different things of a solver. One may give away several values as soon as the grid is scanned. The other may leave every row with two or three plausible candidates, forcing the player to compare information across a box and its intersecting lines.

Distribution matters as much as quantity. If removed clues leave one area of the grid almost complete, that area becomes a starting engine for the rest of the solve. If the same number of clues is spread so that no region yields an early single, the opening feels much slower. A label based only on the number printed at the start misses that difference.

A strategy-aware generator has a better measure. It can solve the puzzle step by step, note which technique creates the next forced value, and reject a board when the required technique sits outside the intended level. That process also catches an awkward puzzle that is technically solvable but spends too long without giving the player a readable next move.

## A generator serves two solvers

The exact solver protects correctness. It answers whether the remaining clues define one completed grid and prevents a puzzle from reaching players with two valid endings. The strategy solver protects the experience. It asks whether the path to that ending matches what the interface and difficulty label have taught the player.

Those jobs should stay separate. An exact search can find a completion without explaining why a human should enter a particular digit now. A human-style solver can produce a clear chain of deductions, but it still needs the exact check to prove that no alternative completion survives beyond that chain.

Difficulty also depends on sequence. Five easy deductions in a row may open half the board. The same techniques scattered between long candidate searches can feel harder even though the named method never changes. A useful rating therefore records the hardest technique, how often it appears, and how much progress each deduction unlocks.

This is why a fair puzzle is designed around more than scarcity. Removing clues creates the challenge, but the remaining logical route determines whether that challenge feels earned.

Every puzzle in [Soddoo Sudoku](/sudoku/) has a unique solution. The [Sudoku manual](/how-to-play/sudoku/) explains the techniques behind the easier levels, which is more useful than judging a board by its number of clues.

A difficulty label earns trust when the next deduction uses the skills that label has already taught.