“We learn by chess the habit of not being discouraged by present bad appearances in the state of our affairs,” he would write in “The Morals of Chess,” “the habit of hoping for a favorable change, and that of persevering in the search [for] resources.”