r/programming • • Apr 23 '13

PathFinding algorithm, visually explained

http://qiao.github.io/PathFinding.js/visual/
2.2k Upvotes

230 comments sorted by

View all comments

Show parent comment

9

u/Figs Apr 24 '13

There are a number of incremental search algorithms like D*, but I think they're meant more for robots exploring unknown terrain (e.g. Mars rovers) than for games -- although, might be applicable if you don't want the AI to "cheat" by knowing the map ahead of time.