Sumbreak

Sumbreak puzzle solver

Enter a matching-number board and reveal one move at a time. Pick a finish square if your board has one, or leave it set to Anywhere.

Solution

Enter your tiles, then choose Find solution.

Try a stuck board

Enter the board you are trying to solve

Pick the grid size before filling any tiles. Letters run left to right and numbers run from top to bottom, so B2 is the second column of the second row. Copy the board as it looks after your latest move. Leave empty spaces blank or enter 0. Use the coordinate labels to catch a number placed one square away from its actual location.

Input you have What to enter How the solver treats it
A numbered square A whole number from 1 through 9999 It can merge into an equal neighbor.
An addition tile +1 through +99, such as +3 Move it onto a numbered neighbor and add the amount.
A double tile x2 or ×2 Move it onto a number to double that value.
A marked square Choose its coordinate under Finish square. The square must contain a number, and its tile stays fixed as a destination.
A board that may finish anywhere Leave the finish set to Anywhere. The route may end in any occupied square.

If you choose a finish square, check its current number too. Changing the selected finish square can change whether the exact same layout can be solved. A goal at an empty or wildcard cell needs a numbered cell before the solver can search.

Try the same numbers with two different finish squares

Choose a 3×3 board. Put 4 on A1, 4 on B1, and 8 on B2. Leave the other squares blank. First set the finish to B2. The solver can send A1 into B1, then move the new 8 down into B2. The board ends on 16 in two moves.

Keep the same numbers and change the finish to A1. The 4 at A1 now has to stay in place, so the first pair can only merge from B1 into A1. That leaves the two 8s on a diagonal. Run the solver again to see the difference. If your source puzzle allows a finish on any square, choose Anywhere before deciding the position is stuck.

Check the three sample outputs

Diagonal trap loads three numbers. B2 holds the marked 4, with one 2 at C2 and another at C3. Move C3 up onto C2 to make a 4 next to B2. The next merge finishes on 8 in two moves. Put the first 4 on C3 instead and the diagonal gap remains.

Unmatched pair puts 5 on the marked B2, 2 on C2 and +3 on D2. Apply +3 to the 2 before trying the final merge. The result on C2 changes from 2 to 5, then those matching 5s finish on 10 in two moves.

Early double gives you 8 on the mark, two 2s and a ×2. Combine the 2s on C2 so the ×2 at D2 can reach the new 4. The double makes 8 beside the marked 8. The result is 16 in three moves.

Read the result one step at a time

Choose Find solution. If the solver finds a route, the replay opens at step zero, where you can compare the preview with your entry. Select Next step to reveal the first merge, and Previous step to go back. An entry like D2 → C2 · 4 × 2 = 8 names the source first and the destination second. Expand All moves when you want to see the route at once.

If you are using the solver beside a separate puzzle, replay just the first move. Make that move on your own board and check the updated value and location before continuing. One reversed direction can produce the correct number in a square that the rest of the route cannot reach.

Diagnose a result before changing the board

Tool result What it tells you A useful next check
An input needs checking A value or finish square is outside the accepted format. Use the flagged coordinate to correct the entry.
No solution under these rules The checked position has no route to one tile under the rules above. Recheck blank squares and modifier order. Undo the last move on the original board when possible.
Search limit reached The solver reached its search budget while exploring possible orders. Keep a confirmed merge, then enter the smaller position it leaves.
This board is already solved One numbered tile remains at a permitted finish. Compare that tile with the result you expected.

The solver works on the values entered in this browser session. When a board stalls even though legal moves remain, try the controlled wrong move on the strategy board to see why a gap can make a position unwinnable.