Three-Pile Nim
In this step you will create a three-pile version of Nim. Copy your
current nim.scm file to a new file called nim3.scm and work on the latter,
keeping your two-pile version intact. Change the module name
in nim3.scm from nim to nim3.
This step is also in two parts:
- First, modify the program so that it plays three-pile Nim using a
modified version of the previous step's simple strategy.
- Second, develop an intelligent strategy for three-pile
Nim and plug it into the program.