The heuristic approach would not have worked. Instead, I'm following a fast-retread approach. First, check if we can re-enter our existing route at any point. If we can, follow the same route we followed before, no deviation. If at any point our ammo drops below what it was when we originally followed that route, this is a failure route. Otherwise, if we can retread all our steps. we win.