No, you cannot win Addition Maze by reaching a running total of 19 before the goal cell — completion requires both the bottom-right goal position and an exact running sum of 19 at that same cell. The validator checks the cursor's location and the running total at the same instant, so producing 19 anywhere earlier in the path simply carries the sum forward; it does not trigger the win state. The only way to win is to land on the goal cell with the running sum still exactly 19, which means the arithmetic of your chosen route has to match the target at the very last step. This double-check is why the puzzle is described as a fixed, deterministic fixture: the goal cell, the target number, the passages between cells, the winning route, and the deliberate trap are all disclosed on the page. In Addition Maze, the rule is not "first to 19 wins" but "reach the bottom-right cell with exactly 19," so any earlier 19 is just a number on a running counter, not a finish line.

Why Reaching 19 Before the Goal Cell Does Not Count
The win check in Addition Maze is a single combined test, not two sequential tests. When you press an arrow key, the puzzle does three things at once: it verifies that the destination cell is connected to the current cell by a declared passage, it verifies that the destination cell has not been visited yet, and it updates the running sum. Only after those checks does it ask the single question, "is the cursor on the goal cell AND is the running sum equal to 19?" The puzzle does not track whether you have ever held 19 in the counter at any earlier point in the run. The running sum is recomputed from scratch every time you make an accepted move, so a previous 19 is overwritten the moment you step onto a new cell that adds another positive number.
This is also why the validator rejects a route whose sum rises above 19. Once your running total exceeds 19, no accepted move can ever bring it back down, because every visited cell contributes a positive integer. The puzzle detects this state, marks the run as a deadlock, and the only honest recovery is to press Restart. The same logic applies to reaching the goal cell with the wrong total: producing 14, 16, 18, or 20 at the goal cell is just as much a non-completion as producing 19 one cell too early. The completion flag requires two facts to be true at the same moment — position on the goal AND sum equals 19 — and a partial match is a fail, not a near-win.
What the Win Condition Actually Requires
The win condition in Addition Maze has exactly four interacting requirements, and a run only completes when the first two hold at the same time:
| Requirement | Where It Is Checked | What Must Be True |
|---|---|---|
| Cursor on the goal cell | Bottom-right number cell of the 3×3 grid | The accepted move just placed the cursor on the goal |
| Running sum equals 19 | Cumulative total of all visited cells | The arithmetic of the chosen route totals exactly 19 at that cell |
| Visited cells never reused | Path history | No cell appears twice in the route |
| Every move follows a declared passage | Edge graph of the maze | Every accepted move is on a published connection |
The order of the requirements matters. The validator only asks "is the sum equal to 19?" once the cursor is already on the goal cell, which is why intermediate totals are informational, not decisive. If you ever see your counter tick up to 19 on a non-goal cell, you should mentally note that the goal-cell arithmetic still has to come out to 19 — and on this fixed board, the disclosed Right, Down, Right, Down sequence completes the run in four accepted moves.
How to Score 800 in Addition Maze in Four Moves
The full winning route visits five numbered cells in five cells' worth of arithmetic, but only four arrow presses count as accepted moves. The route is Right, Down, Right, Down, starting from the top-left 2 and ending on the bottom-right goal. Each accepted move subtracts 50 from a starting 1,000, so four accepted moves leave 800 points.
- Start on the top-left 2. The running sum is 2 and the score is 1,000. No accepted move has occurred yet.
- Press Right to enter the connected 4. Running sum: 2 + 4 = 6. Score: 950. Accepted moves: 1.
- Press Down to enter the connected 6. Running sum: 6 + 6 = 12. Score: 900. Accepted moves: 2.
- Press Right to enter the connected 2. Running sum: 12 + 2 = 14. Score: 850. Accepted moves: 3.
- Press Down to land on the goal cell 5. Running sum: 14 + 5 = 19. Score: 800. Accepted moves: 4. Completion flag set.
The whole sequence visits five cells (2, 4, 6, 2, 5) but counts as four accepted moves because the starting cell is the initial position, not a move. This is also why the puzzle can guarantee an 800-point finish without ambiguity: the route is fixed, the cells are fixed, and the score formula is fixed.
The Down-First Deadlock and How to Recover
Moving Down from the start is a real alternative choice, not a decorative wall. The Down arrow is honored, and the cursor moves onto the 8 below the start. The running sum becomes 2 + 8 = 10. From there, the only declared passage leaving the 8 returns to the visited start cell, and visited cells cannot be reused. The browser detects that no unvisited connected cell remains from the cursor's position and reports a deadlock immediately. The accepted-moves count is 1, so the score is 950, but the run is over and the completion flag never fires.
| State | Winning Route (Right, Down, Right, Down) | Down-First Trap |
|---|---|---|
| Start | Cursor on 2, sum 2, score 1,000 | Cursor on 2, sum 2, score 1,000 |
| Move 1 | Right to 4, sum 6, score 950 | Down to 8, sum 10, score 950 |
| Move 2 | Down to 6, sum 12, score 900 | No unvisited connected neighbor — deadlock reported |
| Move 3 | Right to 2, sum 14, score 850 | — |
| Move 4 | Down to 5 (goal), sum 19, score 800, completion flag set | — |
The honest recovery from any deadlock is to press Restart. Restart returns the cursor to the top-left 2, clears the route, restores the score to 1,000, and removes both the completion flag and the deadlock flag. From the fresh state you can re-attempt the four-move solution. The Down-first trap is included in the disclosed logic test that ships with the page; the test drives the trap, asserts the deadlock, and proves that no further accepted move is legal from inside the cul-de-sac. This is one reason the puzzle is described as deterministic rather than random: every wrong opening move is auditable, and the only correct one is reproducible.
Score Formula, Accepted Moves, and Blocked Presses
The score in Addition Maze is computed as max(0, 1,000 minus 50 times the number of accepted moves). A move is "accepted" only when it lands on an unvisited connected numbered cell. Walls, closed edges, off-board arrows, attempted revisits, and any press whose destination is not a connected unvisited number are no-ops: the cursor does not move, the running sum does not change, the accepted-move counter does not change, and the score does not drop. This means a player who is unsure about a route can safely probe direction keys without paying for the guess. The only thing that costs points is a successful move onto a new numbered cell.
The local best-score storage is in your browser's localStorage. Restarting the maze does not clear the best score, but it does clear the current route and the 1,000-point starting value. If you finish a run with 800 points, that figure stays available until you clear browser storage for the site, which is useful if you want to measure improvement across sessions without losing the goal. The interface itself is a semantic CSS grid rather than canvas art, so every cell announces its number or wall state, visit state, and current position to assistive tooling without hidden graphics.
Other Rules That Confuse First-Time Players
Three extra rules often trip up first-time players, and they are worth pinning down alongside the goal-cell-and-sum rule:
- Reaching the goal cell with any sum other than 19 is a non-completion. Producing 14, 16, 18, or 20 at the goal is reported as a wrong-total state, and the only recovery is Restart.
- Holding a running sum of 19 on any non-goal cell is informational, not a win. The counter just continues to update on the next accepted move, and the win check happens only at the goal cell.
- Double-press Escape opens a shared simulated spreadsheet boss screen, and repeating the gesture returns to the unchanged maze. The maze state and the local best score survive the gesture, so it is purely a quick-disguise feature.
For readers who want a strategy-focused walkthrough of the four-move route, the strategy guide for reaching exactly 19 in four moves covers the same route with practice prompts. The page itself is the place where the rule is enforced — every accepted move updates the running counter and the score, and the completion flag fires only at the goal cell with the exact sum.