sudokUI

sudokUI › Sudoku difficulty rating

Sudoku difficulty rating

sudokUI rates a puzzle by solving it the way a person would. At every step it takes the easiest technique that makes progress and adds that technique’s score. The total is the HoDoKu rating.

Rate your own sudoku

The puzzle opens in sudokUI with its HoDoKu rating and level in the top bar. Nothing is uploaded: the rating is computed on your own device. No string at hand? Open sudokUI, choose New, then Custom, and type the puzzle onto the board. See also how this compares with HoDoKu.

Easiest technique first

Techniques are tried in a fixed order, from singles up to forcing nets, and the first one that works is applied. The rating therefore measures a path built from the easiest steps available, not the cleverest one.

Scores compatible with HoDoKu

Scores and search order are HoDoKu’s defaults for every technique the two share; HoDoKu is the reference sudoku analyser. A Naked Single costs 4, an X-Wing 140, a Forcing Net 700. sudokUI’s solver also knows techniques HoDoKu does not, such as WXYZ-Wing, Chute Remote Pair and 3D Medusa, scored next to their closest relatives; it uses Death Blossom, which HoDoKu leaves off by default, and lacks HoDoKu’s Finned Franken fish. So the HoDoKu rating follows HoDoKu’s scale and rules, but on many puzzles it is not the number HoDoKu itself gives, and sometimes not the level.

HoDoKu’s five levels

The level is set the way HoDoKu sets it. It starts at the level of the hardest technique on the solve path, then rises one level at a time while the total is above the level’s limit: 800 for Easy, 1000 for Medium, 1600 for Hard and 1800 for Unfair. Extreme has no limit. A solve path with an X-Wing makes a puzzle at least Hard, and a total over 1800 makes it Extreme.

Beginner and Nightmare

New game also offers two narrower picks: Beginner, the Easy puzzles scoring 400 or less, and Nightmare, the Extreme puzzles scoring over 3000. They choose which puzzles you get; the level a puzzle shows is still one of the five.

Rate any puzzle

Import an 81-character puzzle or type one in by hand. sudokUI first verifies that it has exactly one solution, then rates it before you play.

The five levels and two picks

LevelTotal scoreTypical techniques
Easyup to 800singles only
BeginnerEasy, up to 400full houses and easy singles
Mediumup to 1000locked candidates and subsets
Hardup to 1600fish, wings, kites and unique rectangles
Unfairup to 1800chains, ALS and finned fish
Extremeno limitlong chains, colouring and nets
NightmareExtreme, above 3000forcing nets and Exocets

How fast is fast?

Rough benchmarks from the typical times online solvers report, spread the way solve times spread: most near the middle, a long tail behind. The world class mark is set by championship solvers. Writing your own marks takes longer than automatic candidates, and paper longer still, so each way of solving has its own table. Beginner and Nightmare puzzles are timed on rows of their own, so the Easy and Extreme rows are for the rest of those levels. A puzzle at the top of its level takes longer than one at the bottom.

LevelSlowTypicalFastExpertWorld class
With automatic candidates
Beginner6:444:002:220:570:35
Easy11:487:004:091:391:02
Medium20:1312:007:072:501:46
Hard38:4523:0013:395:263:23
Unfair1h 16m45:0026:4210:386:37
Extreme2h 32m1h 30m53:2521:1613:15
Nightmare5h 3m3h1h 47m42:3326:30
With your own marks
Beginner8:465:123:051:140:46
Easy15:209:065:242:091:20
Medium26:1715:369:153:412:18
Hard50:2329:5417:457:044:24
Unfair1h 39m58:3034:4313:508:37
Extreme3h 17m1h 57m1h 9m27:3917:13
Nightmare6h 34m3h 54m2h 19m55:1934:27
On paper
Beginner10:476:243:481:310:57
Easy18:5211:126:392:391:39
Medium32:2119:1211:244:322:50
Hard1h 2m36:4821:508:425:25
Unfair2h 1m1h 12m42:4417:0110:36
Extreme4h 3m2h 24m1h 25m34:0221:12
Nightmare8h 5m4h 48m2h 51m1h 8m42:24

Slow is where the slowest fifth begins. Typical is the median solver. Fast is faster than four solvers in five, Expert faster than 99 in 100, World class faster than 999 in 1,000. The app says where each of your solves lands.

Score of every technique

The cost added to a puzzle's HoDoKu rating each time the solver needs the technique, and how many of the puzzles sudokUI generates need it at least once (measured on 5,533,732 puzzles).

TechniqueClassScoreNeeded in
Singles
Full HouseEasy4every puzzle
Naked SingleEasy4every puzzle
Hidden SingleEasy1494% of puzzles
Intersections
Locked PairMedium401 in 12 puzzles
Locked TripleMedium601 in 57 puzzles
Locked Candidates (Pointing)Medium5034% of puzzles
Locked Candidates (Claiming)Medium5017% of puzzles
Subsets
Naked PairMedium6014% of puzzles
Naked TripleMedium801 in 10 puzzles
Hidden PairMedium701 in 24 puzzles
Hidden TripleMedium1001 in 110 puzzles
Naked QuadrupleHard1201 in 840 puzzles
Hidden QuadrupleHard1501 in 12,000 puzzles
Basic Fish
X-WingHard1401 in 19 puzzles
SwordfishHard1501 in 81 puzzles
JellyfishHard1601 in 1,500 puzzles
SquirmbagUnfair470
WhaleUnfair470
LeviathanUnfair470
Finned Fish
Finned X-WingHard1301 in 55 puzzles
Sashimi X-WingHard1501 in 260 puzzles
Finned SwordfishUnfair2001 in 68 puzzles
Sashimi SwordfishUnfair2401 in 330 puzzles
Finned JellyfishUnfair2501 in 860 puzzles
Sashimi JellyfishUnfair2601 in 7,200 puzzles
Complex Fish
Franken X-WingUnfair300fewer than 1 in 5,500,000 puzzles
Franken SwordfishUnfair350fewer than 1 in 5,500,000 puzzles
Single Digit Patterns
SkyscraperHard1301 in 11 puzzles
2-String KiteHard1501 in 13 puzzles
Turbot FishHard1201 in 60 puzzles
Empty RectangleHard1201 in 32 puzzles
Colouring
Simple ColorsHard1501 in 520 puzzles
Multi ColorsHard2001 in 890 puzzles
3D MedusaUnfair2501 in 16 puzzles
Wings
W-WingHard1501 in 16 puzzles
XY-WingHard1601 in 16 puzzles
XYZ-WingHard1801 in 33 puzzles
WXYZ-WingHard2001 in 12 puzzles
Almost Locked Sets
ALS-XZUnfair3001 in 37 puzzles
ALS-XY-WingUnfair3201 in 50 puzzles
ALS-XY-ChainUnfair3401 in 98 puzzles
Death BlossomUnfair3601 in 2,400 puzzles
Chains and Loops
Remote PairHard1101 in 46 puzzles
Chute Remote PairHard1101 in 12 puzzles
X-ChainUnfair2601 in 260 puzzles
X-Cycles (loops)Unfair280fewer than 1 in 5,500,000 puzzles
Grouped X-CyclesUnfair3001 in 430 puzzles
XY-ChainUnfair2601 in 30 puzzles
Twinned XY-ChainsUnfair300
Nice LoopUnfair2801 in 25 puzzles
Grouped Nice LoopUnfair3001 in 160 puzzles
Alternating Inference ChainUnfair3201 in 190 puzzles
AIC with GroupsUnfair3401 in 1,100 puzzles
AIC with ALSsUnfair3601 in 590 puzzles
Uniqueness
BUG+1Hard1001 in 59 puzzles
Unique Rectangle Type 1Hard1001 in 76 puzzles
Unique Rectangle Type 2Hard1001 in 330 puzzles
Unique Rectangle Type 3Hard1001 in 200 puzzles
Unique Rectangle Type 4Hard1001 in 99 puzzles
Unique Rectangle Type 5Hard1001 in 16,000 puzzles
Unique Rectangle Type 6Hard1001 in 300 puzzles
Hidden RectangleHard1001 in 29 puzzles
Avoidable Rectangle Type 1Hard1001 in 2,000 puzzles
Avoidable Rectangle Type 2Hard1001 in 28,000 puzzles
Extended RectangleHard1101 in 690 puzzles
Miscellaneous
Sue de CoqUnfair2501 in 320 puzzles
FireworksExtreme4001 in 120,000 puzzles
TridagonExtreme400fewer than 1 in 5,500,000 puzzles
SK LoopExtreme400
Aligned Pair ExclusionUnfair3201 in 16,000 puzzles
Last Resort
ExocetExtreme4501 in 160,000 puzzles
Double ExocetExtreme480
Pattern OverlayExtreme5001 in 740 puzzles
Forcing ChainExtreme500
Digit Forcing ChainExtreme5001 in 180 puzzles
Nishio Forcing ChainExtreme5001 in 13,000 puzzles
Cell Forcing ChainExtreme550fewer than 1 in 5,500,000 puzzles
Unit Forcing ChainExtreme550fewer than 1 in 5,500,000 puzzles
Forcing NetExtreme700fewer than 1 in 5,500,000 puzzles
Brute ForceExtreme10000fewer than 1 in 5,500,000 puzzles