Before we get to know what is Sprague-Grundy Theorem, we need to understand the significance of Sprague-Grundy functions. As we will see further, impartial games can be converted from *games to graphs*. I am going to provide one such visualisation example based on the fundamentals of Nim and later on extend the application to the **Kayle's game**, elaborating as much as possible and wherever possible.

Read this article to understand the intuition behind Sprague Grundy Theorem

**Have a doubt or thought? Join the discussion now**

This is a companion discussion topic for the original entry at http://iq.opengenus.org/sprague-grundy-theorem-game-of-kayle/