@kasheee,
Say there are five candies in the bag.
I take the first one (1)
You take one (1)
I take 1 (1+1)
You take one but give it to me: You: (1+1-1 = 1); Me (1+1+1=3)
Then it's my turn again and I take the last one (1+1+1(the one you gave me) +1 = 4)
I end up with 4, you end up with 1.