Solve a Hopido puzzle: Difference between revisions
→{{header|Julia}}
Line 845:
const hopidomoves = [[-3, 0], [0, -3], [-2, -2], [-2, 2], [2, -2], [0, 3], [3, 0], [2, 2]]
board,
printboard(board, " 0", " ")
hidatosolve(board, maxmoves, hopidomoves, fixed, starts[1][1], starts[1][2], 1, 1
printboard(board)
</lang>{{output}}<pre>
|