Why does the Nim strategy always work?

I am doing a project for my math class and its about the game Nim. I know that there is a strategy on how to win every time, and i know how to do it, but i need to know why it works every time. I am very confused and need to know.
1 answer 1