How SumGrid's puzzles are made and checked
Every level in SumGrid was made by a generator and then checked again by a separate script. Here is how that works, with figures taken from the 4,000 levels that ship in the app.
Four packs of 1,000 levels
The app ships with four level packs: 1,000 Sudoku, 1,000 Sum Sudoku (killer sudoku), 1,000 Kakuro and 1,000 Number Sums. They were made in advance by a generator script, not on your phone, so level 250 is the same puzzle for everyone.
Each level's random choices start from a number, called a seed, made from the game, the level number and an attempt number. The same seed always gives the same puzzle. If a new level matched one made earlier in the same run, the attempt number would go up and the level would be made again. No two levels in a pack are identical.
How difficulty is set
Each level number is turned into a difficulty score from 0 to 100. The curve is slightly eased, so the early levels climb gently: level 250 scores 20, level 500 scores 45 and level 750 scores 72.
The score does not pick techniques. It sets concrete things: how many digits a Sudoku starts with, how big the cages are and how many digits it starts with in Sum Sudoku, and how big the grid is in Kakuro and Number Sums.
Sudoku: taking digits away
The generator fills a complete grid at random. Then it removes digits in pairs of cells that mirror each other through the centre (the centre cell goes on its own). After each removal a solver checks that the puzzle still has exactly one solution. If it doesn't, the pair goes back. Every pair is tried once, in random order, until the puzzle reaches its target: 40 starting digits at level 1, falling to 22 at level 1000.
Because digits leave in mirrored pairs, all 1,000 Sudoku levels have a starting pattern that looks the same when you turn the grid upside down.
| Levels | Average starting digits | Fewest | Most |
|---|---|---|---|
| 1–100 | 39.0 | 38 | 40 |
| 101–200 | 37.5 | 36 | 39 |
| 201–300 | 36.0 | 35 | 37 |
| 301–400 | 34.1 | 33 | 35 |
| 401–500 | 32.4 | 31 | 34 |
| 501–600 | 30.5 | 29 | 32 |
| 601–700 | 28.9 | 27 | 32 |
| 701–800 | 27.9 | 25 | 32 |
| 801–900 | 27.5 | 24 | 32 |
| 901–1000 | 27.5 | 24 | 31 |
The plan says 22 digits at the top, but the hardest levels average 27.5 and none has fewer than 24. Level 1 starts with 40 digits, level 500 with 31 and level 1000 with 26. In all, 251 levels stopped above their target, including 98 of the last 100. On those, every pair left on the board was tried, and taking any of them away would allow a second solution. That is why the count levels off from about level 800.
To see how a Sudoku is solved by reasoning, read our Sudoku worked example.
Sum Sudoku: cages first, then starting digits
Again the generator starts from a complete grid. It grows cages from random cells into neighbouring cells, never adding a digit the cage already holds. The planned size grows with the level: cages of up to 3 cells at first, up to 4 from level 301 and up to 5 from level 779. From level 869 the generator also aims for at least 3 cells per cage. It doesn't always get there, because a cage stops growing when no neighbour fits, so most of these levels still have a 2-cell cage or two. A cell left on its own is merged into a neighbouring cage where its digit doesn't repeat, which is why a few cages reach 6 cells.
Next it places some starting digits: 14 at level 1, fewer as levels rise. Then the solver runs. If it finds two solutions, the generator reveals a digit in a cell where they disagree, and checks again until only one is left.
| Levels | Cages (average) | Cells per cage | Largest cage | Starting digits (average) |
|---|---|---|---|---|
| 1–100 | 30.5 | 2.66 | 4 | 13.9 |
| 101–200 | 30.6 | 2.65 | 4 | 11.8 |
| 201–300 | 30.5 | 2.66 | 4 | 9.8 |
| 301–400 | 26.6 | 3.05 | 5 | 8.3 |
| 401–500 | 26.1 | 3.10 | 5 | 7.1 |
| 501–600 | 26.1 | 3.11 | 5 | 6.2 |
| 601–700 | 26.3 | 3.08 | 5 | 5.7 |
| 701–800 | 25.7 | 3.16 | 6 | 5.4 |
| 801–900 | 22.4 | 3.61 | 6 | 8.0 |
| 901–1000 | 20.6 | 3.92 | 6 | 9.8 |
Starting digits fall to 5.4 and then rise again in the last 200 levels. The plan calls for only 0 or 1 starting digits there. The extra digits come from the uniqueness check: bigger cages, and fewer small ones, pin the digits down less tightly, so the generator has to reveal more of them before one solution remains. Every level starts with at least two digits.
Across the whole pack there are 26,526 cages: 35.6% have 2 cells, 33.4% have 3, 21.7% have 4, 7.7% have 5 and 1.4% have 6. Just 52 single-cell cages are left, one each in 52 levels. Our Sum Sudoku worked example shows these cages in use.
Kakuro: pattern, digits, then small changes
Kakuro starts with the pattern of black and white cells. Black cells are placed in pairs that mirror each other through the centre, so all 1,000 patterns look the same upside down. The generator breaks up some 2×2 blocks of white cells, blacks out any run of a single cell and splits runs longer than 7. A pattern is rejected if less than 45% of it is white or if the white cells don't all join up.
Random digits then fill the white cells, with no repeat in any run, and the clues are added up from them. If the solver finds two solutions, the generator changes a digit where they disagree. It favours digits far from 5, like 1, 2, 8 and 9, because they fit fewer combinations. After 250 tries it fills in up to three helper digits instead, and if that still fails it starts again with a new pattern.
| Play area | Levels | White cells (average) | Share white | Longest run | Levels with helper digits |
|---|---|---|---|---|---|
| 5×5 | 1–225 | 15.7 | 63% | 5 | 51 |
| 6×6 | 226–413 | 22.0 | 61% | 6 | 32 |
| 7×7 | 414–589 | 27.4 | 56% | 7 | 14 |
| 8×8 | 590–756 | 35.1 | 55% | 7 | 24 |
| 9×9 | 757–918 | 42.7 | 53% | 7 | 19 |
| 10×10 | 919–1000 | 51.7 | 52% | 7 | 9 |
So 149 Kakuro levels start with helper digits, 385 digits in all. The rest start empty. As the grids grow, the white share falls from 63% to 52%, but a 10×10 level still has around 52 cells to fill against 16 on a 5×5. Our Kakuro worked example walks through a small grid.
Number Sums: random digits, one right selection
Every cell gets a random digit from 1 to 9, and a coin toss decides whether it is kept or erased in the answer. Every row, column and coloured region keeps at least one digit. The regions grow from random starting cells, and there are as many regions as the grid has rows. The targets are the sums of the kept digits. The solver then tries keeping or erasing every cell, and a board with more than one valid selection is thrown away and a new one is made.
| Grid | Levels | Regions | Digits kept (average) | Share kept (range) |
|---|---|---|---|---|
| 5×5 | 1–247 | 5 | 13.3 of 25 | 53.3% (32–76%) |
| 6×6 | 248–451 | 6 | 18.7 of 36 | 52.0% (33–75%) |
| 7×7 | 452–641 | 7 | 25.3 of 49 | 51.6% (33–69%) |
| 8×8 | 642–823 | 8 | 32.9 of 64 | 51.3% (36–72%) |
| 9×9 | 824–1000 | 9 | 40.9 of 81 | 50.5% (33–67%) |
Across the pack, 51.5% of digits stay. Difficulty comes from size alone: a 9×9 board has 81 keep-or-erase decisions instead of 25. The Number Sums worked example shows how to make those decisions by logic.
How "exactly one solution" is checked
A separate verification script loads every shipped level, solves it from scratch and stops as soon as it finds a second solution. A level passes only if there is exactly one solution and it matches the stored answer. For Kakuro and Number Sums the search has a step budget, and a search that runs out counts as a failure, not a pass. The script also looks for duplicates and re-solves a sample of free-play puzzles: 40 each for Sudoku, Sum Sudoku and Number Sums.
We last ran it on 11 November 2026. All 4,000 levels passed, with no duplicates and no failed free-play puzzles. It took about 15 seconds on a Mac.
One answer means a puzzle can always be finished by logic. The check does not measure how hard that logic is, or which techniques you will need. That is why difficulty is set by the measurable things in the tables above.
Free play and the daily set
Free play has a slider from 0 to 100, with named stops at Easy, Medium, Hard, Expert and Master. The slider value picks a centre level, and the app draws a puzzle from within 20 levels either side.
| Slider | Centre level | Drawn from levels |
|---|---|---|
| Easy (0) | 1 | 1–21 |
| Medium (25) | 300 | 280–320 |
| Hard (50) | 548 | 528–568 |
| Expert (75) | 779 | 759–799 |
| Master (100) | 1000 | 980–1000 |
The puzzle is then shown in a new orientation. Sudoku, Sum Sudoku and Number Sums are rotated or mirrored, and Sudoku also swaps the digits around, so every 3 might become a 7. Kakuro is sometimes flipped across its diagonal, which turns across runs into down runs. None of this changes the number of solutions, so a free-play puzzle has exactly one answer too.
The daily set in the app is one puzzle of each game, chosen from the date. It uses the free-play method at slider value 30, so the puzzles come from levels 332 to 372 and are rotated or mirrored in the same way. Everyone gets the same set on the same date, and you can catch up on past days from the calendar.
The daily puzzles page on this site works differently. It takes its four puzzles straight from the packs and follows the week: Monday's come from levels 60 to 140, then each day is harder, up to Sunday at levels 720 to 800.