Sudoku Assistant — Learn Sudoku Solving Techniques
Enter a Sudoku puzzle and learn step-by-step how to solve it. The assistant analyzes your puzzle, explains the technique needed for each step, and teaches you solving strategies. 100% client-side — your puzzle never leaves your browser.
How to Use the Sudoku Assistant
- Enter your puzzle — click cells and type numbers, or paste an 81-digit string.
- Click "Analyze & Explain" — the assistant will explain what it found and the technique needed.
- Click "Next Step" — apply the next logical step with a full explanation.
- Repeat until the puzzle is solved, learning techniques along the way.
How It Works
The Sudoku Assistant uses a constraint-satisfaction engine to solve puzzles step by step. It maintains a candidate list for every empty cell — the set of numbers that could legally go there based on row, column, and box constraints. The assistant then applies logical techniques in order from simplest to most advanced.
For each step, the assistant identifies which technique is needed and explains the reasoning. This includes naked singles (a cell has one candidate), hidden singles (a number can only go in one place in a row/column/box), and advanced patterns like X-Wing, Swordfish, and XY-Wing. If a puzzle requires a technique not yet implemented, the assistant will indicate that manual solving is needed. Most puzzles up to expert level can be solved with the 17 techniques covered.
Techniques Reference
| Technique | Difficulty | Description |
|---|---|---|
| Naked Single | Beginner | A cell has only one possible candidate — that number must go there. |
| Hidden Single | Beginner | A number can only go in one cell within a row, column, or box. |
| Naked Pair | Intermediate | Two cells in a unit share the same two candidates — eliminate them from other cells. |
| Naked Triple | Intermediate | Three cells collectively use only three candidates — eliminate from other cells. |
| Naked Quad | Intermediate | Four cells collectively use only four candidates — eliminate from other cells. |
| Hidden Pair | Intermediate | Two numbers only appear in the same two cells — remove other candidates from those cells. |
| Hidden Triple | Intermediate | Three numbers only appear in the same three cells — remove other candidates. |
| Hidden Quad | Intermediate | Four numbers only appear in the same four cells — remove other candidates. |
| Pointing Pair/Triple | Intermediate | A candidate in a box is restricted to one row or column — eliminate from that line outside the box. |
| Box/Line Reduction | Intermediate | A candidate in a row/column is restricted to one box — eliminate from other cells in that box. |
| X-Wing | Advanced | A candidate in two rows aligns in two columns — eliminate from those columns elsewhere. |
| Swordfish | Advanced | Extension of X-Wing to three rows and three columns. |
| XY-Wing | Advanced | Three cells in a hinge pattern eliminate a shared candidate from cells seeing both pingers. |
| XYZ-Wing | Advanced | Like XY-Wing but the pivot has three candidates — eliminates the shared candidate. |
| Unique Rectangles | Advanced | Exploits the single-solution guarantee to eliminate candidates that would create multiple solutions. |
| Turbot Fish | Advanced | An incomplete X-Wing pattern that still allows eliminations via strong/weak links. |
| Simple Coloring | Advanced | Chains a candidate with alternating colors — contradictory colors can be eliminated. |
Tips for Solving Harder Puzzles
- Always pencil in candidates — before attempting advanced techniques, make sure every empty cell has its full candidate list. Most mistakes come from missing candidates.
- Work systematically — scan rows, columns, and boxes in order. Don't jump around randomly. Consistency helps you spot patterns.
- Look for naked pairs first — before trying X-Wing or Swordfish, exhaust all naked and hidden pair/triple/quad possibilities. They're easier to spot and solve more puzzles.
- Use process of elimination — when stuck, focus on one number at a time. Go through 1–9 and see where each number can and cannot go in every row, column, and box.
- Coloring helps visualize chains — for advanced techniques, mentally or physically mark cells with alternating colors to trace strong and weak links.
- Don't guess — guessing leads to contradictions and wasted time. If you're stuck, there's a logical technique you haven't tried yet.
- Practice daily — pattern recognition improves with repetition. Even 10 minutes a day will noticeably improve your solving speed within weeks.
Solving Techniques Reference
Naked Single
When a cell has only one possible candidate remaining, that number must go there.
Naked Pair
When two cells in the same unit (row, column, or box) contain the same two candidates, those two numbers are locked to those cells. You can eliminate these candidates from other cells in that unit.
Naked Triple
When three cells in the same unit collectively contain only three candidates, those numbers are locked to those cells. Eliminate these candidates from other cells in that unit.
Naked Quad
When four cells in the same unit collectively contain only four candidates, those numbers are locked to those cells. Eliminate these candidates from other cells in that unit.
Pointing Pair / Triple
When a candidate in a box is restricted to a single row or column, it can be eliminated from that row or column outside the box.
Box/Line Reduction
When a candidate in a row or column is restricted to a single box, it can be eliminated from other cells in that box.
X-Wing
When a candidate appears in exactly two cells in each of two different rows, and these cells align in the same two columns, the candidate can be eliminated from all other cells in those two columns.
Swordfish
An extension of X-Wing to three rows and three columns. When a candidate in three rows is restricted to the same three columns, eliminate it from those columns elsewhere.
XY-Wing
Three cells form a hinge pattern: the pivot has candidates {X,Y}, and two pingers have {X,Z} and {Y,Z}. Any cell seeing all three cannot be Z.
XYZ-Wing
Like XY-Wing, but the pivot has three candidates {X,Y,Z}. One pinger has {X,Z} and the other has {Y,Z}. Any cell seeing all three cannot be Z.
Unique Rectangles
If four cells in a rectangle formation share two candidates, the puzzle would have multiple solutions. To avoid this, at least one cell must contain a third candidate, which can be eliminated from other cells seeing both corners.
Turbot Fish
A Turbot Fish (or Sashimi X-Wing) is an incomplete X-Wing pattern that still allows eliminations. When a candidate in two rows shares columns but one row has an extra position, the extra position can sometimes be eliminated.
Simple Colorings
For a candidate that appears in only two cells per unit, chain them with alternating colors. If two cells of the same color see each other, that color is false and can be eliminated.
Technique Difficulty Progression
Start Here
Master Naked Singles and Hidden Singles first. These solve most easy puzzles completely.
Build Skills
Learn Naked/Hidden Pairs, Triples, and Pointing Pairs. These tackle medium puzzles and build pattern recognition.
Level Up
Master Box/Line Reduction and X-Wing. These unlock hard puzzles and improve logical reasoning.
Expert Level
Swordfish, XY-Wing, XYZ-Wing, Unique Rectangles, and Coloring. These conquer expert puzzles and complete your technique arsenal.
Frequently Asked Questions
The assistant now implements 17 techniques covering beginner through advanced difficulty. If a puzzle requires a technique not yet implemented (like Jellyfish or Forcing Chains), the assistant will indicate that manual solving is needed. Most puzzles up to expert level can be solved with the covered techniques.
The assistant assumes the puzzle has a unique solution. If you enter an invalid puzzle with multiple solutions, some steps may not work correctly. Use puzzles from trusted sources for best results.
Both! The explanations teach you the techniques. After following several puzzles, you'll recognize patterns and solve independently. The reference section serves as a permanent study guide.