03-18-2021, 10:13 AM
(03-18-2021, 10:05 AM)Eric Piette Wrote: Hi,Ah, thanks! Should be easy enough to fix :)
After looking your trial, the result is correct. Because you try to compute the distance between (last From) and (last To) in looking only the empty to site. However the site (last To) contains a piece. So (last To) can never be reached here. Consequently the ludeme returns our INFINITY value which is 1000000000.
Regards,
Eric