Solve a Hidato puzzle: Difference between revisions

Content added Content deleted
Line 1,939: Line 1,939:
if sought > maxmove
if sought > maxmove
return true
return true
elseif (board[row, col] != 0 && board[row, col] != sought) ||
elseif (0 != board[row, col] != sought) || (board[row, col] == 0 && sought in fixed)
(length(fixed) > 1 && board[row, col] == 0 && fixed[next] == sought)
return false
return false
end
end