A New Sudoku Layout With 81 Uniquely Shaped Cells

March 12, 2025・5 minute read

Something productive finally came from my daily Sudoku habit: I invented a new type of puzzle that I call “Cracked Sudoku”. It’s named after cracked dirt:

A Cracked Sudoku puzzle

Even though it looks weird, the rules should feel familiar to Sudoku fans:

Fill the cells with numbers 1-9 without repeating numbers in a dark-outlined group or along a colored run line.

Give it a try:

Play Cracked Sudoku

Designing the Ruleset

Those of you with a life may be unaware that the past 10 years have seen an explosion of alternative Sudoku rules:

German Whisper Lines, Dutch flat mates, Killer cages, Yin-yang (My favorite), Fog-of-war, Sum arrows, Even & Odd squares, Thermometers, Black dots, White dots, Jigsaw Sudo, Renban lines, Nabner lines, Star Battle, Masyu loop, Inequality signs, Region sum lines

Whew.

Despite all the innovation in rules, there has been comparatively little innovation in layout. Pretty much all Sudoku use a 9x9 grid. There are variants using hexagons or triangles, but they’re rare and the solving experience isn’t that different from a grid.

To address this, I realized that it’s possible to tweak Sudoku’s rules to allow for cells of any shape, which produces a different layout on every puzzle:

Examples of several Cracked Sudoku layouts

These layouts are generated from Voronoi Diagrams, but you could design a Cracked Sudoku other ways too.

They still have 81 cells in 9 groups just like classic Sudoku. However instead of “rows” and “columns” Cracked Sudoku have “runs”. Runs are a strip of 2 to 9 cells that can’t contain repeated numbers. Here’s one puzzle with its runs shown:

All runs in a Cracked Sudoku

The randomly assigned line colors exist only to help distinguish separate runs1.

The puzzle generator I wrote (more on that in a bit) creates runs based on the cell layout: Runs connect all neighboring cells and can continue through the opposite side to form a longer run. “Opposite” for a N-sided polygon means “two sides that are N/2 sides away from each other”. That’s a confusing explanation for something I hope you intuitively understand from the image above. Runs terminate on cells with an odd number of sides because the concept of “opposite sides” doesn’t work with an odd number of sides.

A human constructor could place runs wherever they like.

Weird Runs

Runs can form interesting structures. Here, the green and orange runs cross in more than one cell:

Two runs that cross in more than one cell

Theoretically my generator could produce a run forming a loop, but I didn’t encounter any. If my generator were to produce a loop under its run logic, it would need a layout like this:

A run forming a loop

Puzzle Generation

Human-designed puzzles are more interesting to solve than computer generated, so ideally I’d have a human designed Cracked Sudoku for you (and me!). Unfortunately I’m not an experienced puzzle constructor, so I wrote a puzzle generator.

It works in 4 phases:

  1. Layout generation: Randomly place 81 points and generate the Voronoi diagram for them. If the diagram has any runs longer than 9, restart step 1.
  2. Make 9 groups of 9 cells. This loops through the groups, adding one cell each time, and backtracks if a group is “pinned in” by the other groups.
  3. Fill cells with numbers. This picks random numbers for each cell and backtracks if a conflict is found. There is often no solution so I have to go all the way back to where I left off in step 2 to try a different grouping. After several failed groupings I give up and go back to step 1.
  4. Reduce the given numbers. Loop through each cell, clearing it’s value and checking if the puzzle still has exactly one solution. If not, I put the value back.

And with that, I could generate Cracked Sudoku. I left it running long enough generate thousands of puzzles – enough for several years of daily puzzles.

Future work

A few things I’d do if I kept working on this:

  1. Try other layouts: concave polygons. curved dividing lines. etc. My gut tells me the puzzle rules still work for concave polygons, but you’d have to use something other than Voronoi Diagrams to generate them.
  2. Experiment with different group shapes. I think it be cool to make a puzzle where one group completely encircles another group
  3. Ensure cells have a minimum area and edges a minimum length.
  4. Make the generator produce puzzles with more long runs.
  5. Prevent groupings from being too “jagged”, this is just a matter of taste.
  6. Manually design a cracked Sudoku. I’d like to experiment with unique cell layouts to purposely create looped runs. I also think there is opportunity for a color-by-numbers puzzle that reveals something when you “color all even numbers brown” or whatever. Which leads me to…

A Call for Puzzle Constructors

Have you made a Sudoku that was featured by Cracking the Cryptic? If so, I would love to coauthor a human-made Cracked Sudoku and have Cracking the Cryptic solve it (a nerd dream of mine). I don’t have enough construction experience to make a high quality one by myself. Email “daniel” at this website’s domain if you’re interested. For everyone else, subscribe to my newsletter to be alerted about the first human-made Cracked Sudoku.

Try it

You can play Cracked Sudoku here. It has a new puzzle every day, just like Wordle.

Play Cracked Sudoku


  1. I wonder what the fewest number of colors is needed to guarantee that, for all Cracked Sudoku layouts, no runs of the same color must cross ↩︎

Get notified about my next article: