Learning to Think Strategically