← Learning notesFly-in live demoMade by Claude (Anthropic) to teach me while I built Fly-in. Code shown is from that stage of the project.

Your Pathfinder, step by step

This is your actual flyin/pathfinder.py. Every click runs one line (or one loop pass) and shows what happens to queue, came_from and path.

keys: ← → space

The graph

zone (just popped) neighbor being checked in queue finished blocked route came_from (points back)

Variables

flyin/pathfinder.py


    

came_from