AI Pathfinding Algorithms in Games