The game of resilience: when to push, when to pivot