Nim Games

In a game of (X, Y, Z)-NIM, there is an initial pile of rocks and players alternate removing either X, Y, or Z stones from the pile (where X, Y, and Z are integers) until a player is unable to make a valid move. When a player is unable to make a valid move, the opposing player is the winner.


your browser does not support the canvas tag