About NIM
This is the classic game of Nim. You can play the traditional game which is to take the last object and work with 4 piles with have 7 objects in the first pile, 5 in the second, 3 in the third, and 1 in the fourth pile. You can also setup the board (4 piles max, 7 objects or less per pile). You can choose who goes first, and if taking the last object or avoiding the last object wins. The computer plays an excellent game.
by Q####:
Clever implementation but on my galaxy 1, the computer will not make the first move. Fix this and I would give this 5.