Planning as Anticipation of Resistance