Code:
 57  33 132 268 492 732
 81 123 240 443 353 508
186  42 195 704 452 228
 -7   2 357 452 317 395
  5  23  -4 592 445 620
  0  77  32 403 337 452
A six-sided die, with numbers (positive/negative integers) written on each of its faces, is placed on the 6-by-6 grid above, in the lower-left corner. It then makes a sequence of moves. Each move consists of tipping the die into an orthogonally adjacent square within the grid.

We start with a score of 0. On the Nth move, the score increases by N times the value of the upper face of the die after the move. However, the die is only allowed to move into a square if the score after the move matches the value in the square. Also, the die cannot be translated or rotated in place in addition to these moves.

After some number of moves the die arrives in the upper-right corner, which ends its journey.

The answer to this puzzle is the sum of values in the unvisited squares.