Free to use, no account
Nim Game
Free, browser-based tool. Enter your values and get a result on this device.
Nim game
How does this tool work?
Enter two to six pile sizes separated by commas or spaces. On each turn, choose a nonempty pile and remove any positive number of stones. The player who takes the last stone wins.
Frequently asked questions
How does this tool work?
Enter two to six pile sizes separated by commas or spaces. On each turn, choose a nonempty pile and remove any positive number of stones. The player who takes the last stone wins.
Is my input uploaded?
No. Processing runs in this browser. Your input is not uploaded or saved by this tool.
Is Nim Game free to use?
Yes. It is free in your browser and does not require an account. Device memory and browser support still apply.
How accurate is this result?
This is standard normal-play Nim with a local opponent that plays optimally when it can force a win. It does not include misère rules, multiplayer or saved scores.