Fourteen variants of Nim with perfect mathematical AI. Every move is explained using XOR, Grundy numbers and the Sprague-Grundy theorem.