Thinking adversarially