Apr-24-2022, 05:21 PM
(This post was last modified: Apr-24-2022, 05:21 PM by deanhystad.)
You have not posted any code that can produce that output. I cannot explain why code I have not seen does not work as expected.
Did you change your search order from LURD to URDL? Is that what "fixed" your output? If so, that just means that 16 was never evaluated. This makes sense because it is not a neighbor of any open (not goal, forbidden or wall) tile.
Did you change your search order from LURD to URDL? Is that what "fixed" your output? If so, that just means that 16 was never evaluated. This makes sense because it is not a neighbor of any open (not goal, forbidden or wall) tile.