Nim Game


Rule


There are piles of stones. Two players take turn, and  choose one of piles and remove stones from the pile. (There is no limit on the number of stones that can be removed at one time.)
  • Note that a player cannot take stones from more than two piles at one time.
  • The player who remove the last stone will be the winner.



  • Strategy