Tool/solver to resolve irregular sudoku (any size), ie with a NxN grid and non-square blocks, the rule of rows and columns remain unchanged.
Irregular NxN Sudoku Solver - dCode
Tag(s) : Number Games
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
An irregular NxN Sudoku (sometimes called Chaos or Jigsaw) is a variation of classic Sudoku where the regions are not necessarily perfect squares. In an irregular Sudoku, these blocks can have more organic or asymmetrical shapes (polyominoes). The goal remains the same: fill the grid with numbers so that each row, each column, and each region contains only one occurrence of each number.
Indicates cells values one by one (it is also possible to make a copy-paste with space as empty cell) as in a classic sudoku.
Only letters or digits are allowed.
Blocks of 9 cells can be selected within predefined examples under the grid or indicated manually by clicking on borders.
Example: A 9x9 grid (copy/paste) forms nonominos 97 1 5 5 9 2 18 4 8 7 26 92 3 6 2 9 19 457
to get:
9 | 7 | ␣ | 1 | ␣ | ␣ | ␣ | ␣ | 5 |
␣ | ␣ | 5 | ␣ | 9 | ␣ | 2 | ␣ | 1 |
8 | ␣ | ␣ | ␣ | 4 | ␣ | ␣ | ␣ | ␣ |
␣ | ␣ | ␣ | ␣ | 8 | ␣ | ␣ | ␣ | ␣ |
␣ | ␣ | ␣ | 7 | ␣ | ␣ | ␣ | ␣ | ␣ |
␣ | ␣ | ␣ | ␣ | 2 | 6 | ␣ | ␣ | 9 |
2 | ␣ | ␣ | 3 | ␣ | ␣ | ␣ | ␣ | 6 |
␣ | ␣ | ␣ | 2 | ␣ | ␣ | 9 | ␣ | ␣ |
␣ | ␣ | 1 | 9 | ␣ | 4 | 5 | 7 | ␣ |
For larger grids, the solver only accepts one character per cell, so use letters.
Example: Write A for 10, B for 11 etc.
The program solves the sudoku, as a human would, and displays each step of its progression for understanding with some explanations. Here are the main steps:
— Initialization: Write down all possible digits for each empty cell.
— Basic Elimination: Remove impossible digits by row, column and region. Find cells with only one possible digit and fill them. Repeat.
— Advanced Techniques: Use patterns (hidden pairs, naked pairs, etc.) to eliminate more digits. Repeat.
— Backtracking (If Necessary): If stuck, try a random digit, see if it works. If it gets stuck, go back and try something else. It is an iterative process of elimination, deduction and, sometimes, trial and error.
dCode retains ownership of the "Irregular NxN Sudoku Solver" source code. Except explicit open source licence (indicated Creative Commons / free), the "Irregular NxN Sudoku Solver" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Irregular NxN Sudoku Solver" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Irregular NxN Sudoku Solver" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Irregular NxN Sudoku Solver" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Irregular NxN Sudoku Solver on dCode.fr [online website], retrieved on 2025-03-25,