When the undefeated samurai Miyamoto Musashi retreated to a cave in 1643 and wrote The Book of Five Rings, a manifesto on swordsmanship, strategy, and winning for his students and generations of …