r/programming • u/hazadess • Apr 23 '13
PathFinding algorithm, visually explained
http://qiao.github.io/PathFinding.js/visual/
2.2k
Upvotes
r/programming • u/hazadess • Apr 23 '13
View all comments
Show parent comment
33
u/porkchop_d_clown Apr 24 '13
If you've ever seen an old fashioned Avalon-Hill style board game, look at the hex grid: the whole point is that there are no diagonals - this is done to eliminate the distance advantage a player can get by moving diagonally on a traditional grid map.