Game Tree for Nim (21 Toothpick Variant)

This application builds the game tree for the 21 toothpick variant of Nim and also applies the minimax algorithm to the resulting tree. The whole tree for the initial configuration is not built. When the pile has between 3 and 10 toothpicks inclusive then the tree can be built.

C# (122.3 KB)
183 times
Add to favorites
E-mail Twitter Digg Facebook

Solution explorer

Click an item in the panel on the left to view the contents here.