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. Any algorithm for the "Irregular NxN Sudoku Solver" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "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.) or any database download or API access for "Irregular NxN Sudoku Solver" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Irregular NxN Sudoku Solver" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Irregular NxN Sudoku Solver on dCode.fr [online website], retrieved on 2025-04-16,