Python grid game agent using A* pathfinding and weighted safety heuristics. Academic simulation with recorded datasets.