Solve a Hopido puzzle: Difference between revisions

Line 845:
const hopidomoves = [[-3, 0], [0, -3], [-2, -2], [-2, 2], [2, -2], [0, 3], [3, 0], [2, 2]]
 
board, emptiesmaxmoves, fixed, starts = hidatoconfigure(hopid)
printboard(board, " 0", " ")
hidatosolve(board, maxmoves, hopidomoves, fixed, starts[1][1], starts[1][2], 1, 1, empties + length(fixed))
printboard(board)
</lang>{{output}}<pre>
4,107

edits