Here, we calculate the Grundy number of step chocolate games.
We discovered the necessary and sufficient condition for step chocolate to have Grundy number that is equal to the nim-sum.
If a chocolate game satisfies this condition, we get Grundy number by nim-sum without calculating Grundy number recursively.
We are the first person who discovered this condition.