Simple Strategy for Three-Pile Nim

The simple strategy from two-pile Nim can be extended for three-pile Nim: Extend your simple-strategy procedure to reflect this.

Modify the nim procedure to replace the use of intelligent-strategy-2-pile with the 3-pile simple-strategy.

Now run nim to test your 3-pile Nim program. It should work similar to before, albeit with an unintelligent strategy. Note that all input validation should also work correctly.