Introduction to Nim Game

  • + 1 comment

    The solution is simply exoring all the pile sizes

    If xor of all pile sizes is 0 then 2nd player wins

    else 1st player