Nim Games
14 variants · perfect ai · sprague-grundy theory

Nim Games — Mathematical Strategy

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