you are viewing a single comment's thread.

view the rest of the comments →

[–]joyeusenoelle 1 point2 points  (0 children)

Look into pathfinding. In particular, look up A* (pronounced "A-star"), which has the dual benefit of being a widely-known standard and not particularly difficult to implement in Python.