acontero/nimgame — pull request #1 by Bedrock02 (2013-12-06 04:14:44+00:00)
Title: StateEval

Java file is a small file that determines if a state is a winning state in the Game of Nim. It follows that it computes the XOR operator against the stacks within nim. ie. Stack 1 = 3, Stack 2 =4, Stack 3 = 1. so 3 XOR 4 XOR 1. See code, it is documented well enough to understand.