Machine to Play Game of Nim (1940) [pdf]
1939nyworldsfair.com
1939nyworldsfair.com
The mathematical analysis of Nim (https://en.wikipedia.org/wiki/Nim#Mathematical_theory) is easier than even that of tic-tac-toe (where you more or less have to write out the full game tree to analyse the game. See https://en.wikipedia.org/wiki/Tic-tac-toe#Strategy), making it easier to program.
I understand it now and the how it works. https://www.turingtumble.com is a neat modern version of it (well, that and a lot more). https://community.turingtumble.com/t/dr-nim-on-turing-tumble...