Andreas Lange and Menusch Khadjavi, of the University of Hamburg, had already decided to use prisoners as test subjects for a broad behavioral economics study centered on altruism when the classic grad-school game came to mind.