Game of 3-pile Nim
P4: Modify Scheme() to implement the scheme S1. Show that it is not a winning scheme.
P5: Modify Scheme() to replace it with a winning scheme. Prove that it is a winning scheme.
Source code provided by Jarek Rossignac: nim . Built with Processing