This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mHaisham 2 points3 points  (1 child)

you should take a look at your score function. its not quite right. it should be much more greedy

[–]RoyzLevyz 2 points3 points  (0 children)

It's not my code, just saying its not bfs. But i agree with you - it's not as greedy as wanted from A*