A screenshot of Level 138 told me more than the level number did. If a game update rearranges the levels which regularly happens, two players looking up “Level 138” can be solving different boards. I wanted a solver that could read either screenshot, and a hint mode that let me play the rest of the puzzle myself.
Meowdoku has three groups to fill: rows, columns, and colored regions. Each group gets one cat. Cats also can’t touch, even diagonally. Once the board is a matrix of region IDs, those rules are enough to check a placement. Getting to that matrix was the first problem.
The cat icons above the board looked like part of the grid
A phone screenshot has the board, the game’s header, and a row of colored cat icons. A crop from Level 138 exposed a bug: the detector picked up colors from those icons and produced the wrong board. The solver was following the rules on the board it was given. It was solving the wrong puzzle.
The detector now makes a mask of colorful pixels, bridges narrow gaps between them, and measures whole connected components. The narrow gap limit keeps the strip of icons separate. Candidate boards have to be roughly square, and their regular internal seams have to line up with the gaps between tiles. Once the grid is located, the detector samples the outer part of each tile so a cat or a cross in the middle doesn’t dominate its color.
The detected crop, colors, and starting cats are editable. If the image is ambiguous, it’s much easier to fix a tile you can see than to diagnose a wrong answer from ten overlaid cats.
A search can find the answer. A hint has to explain a move.
For the full solve, each placement covers a row, a column, and a region. The search picks the uncovered group with the fewest legal placements and branches there. If a group has none left, that branch is dead. The search stops after finding a second solution because by then it already knows the answer isn’t unique.
Hints have a different job. Here’s the rule behind Hint 3 on that Level 138 board:
- The gold region still needs a cat. Its only remaining cells are in row 9.
- The gold cat will also be the cat for row 9. Cross out the other colors in that row.
- Those crosses leave orange with one valid cell, R10C1. Place its cat there in the same hint.
The same rule works for groups of colors. If two colors can only occupy the same two columns, they reserve both columns. You can eliminate every candidate of a third color from those columns before deciding which of the two colors goes where.
I wanted each hint to end at a useful point to stop. A forced placement belongs with the crosses that made it obvious. If that new cat creates another round of deductions, those can wait for the next hint. The UI draws a circle around each fresh cross so you can see what changed without comparing two boards.
The regression test replays the hints against the full solver. For each crossed-out square, it asks whether the original board has any solution with a cat there. For each new cat, it checks that every other placement in its row is impossible. That test catches errors in the hint engine even when its final board looks right.
You can try the built-in example from the Hints tab on Meowdoku Solver. The screenshot is processed in the browser, and the app can also export the full answer as a PNG.


