Let’s say lets say we have 3 piles containing [2,4,6] coins . A and B 2 players and A move first and can pick any no of coin from a single pile in one of his move . (Simpe NIM)
Case 1. Those picks last coin wins .
sol : if 2^4^6 !=0 A wins o.w. B wins .
Case 2 . Those picks last coin lose .
sol : if 2^4^6 !=0 A wins o.w. B wins .
This is what taught in webinar .
Is this true , that it doest matter what is rule for winning , its completely depends on xor of coins all piles that either it is 0 or not . In both case 0 means A win and !0 means B win ???