{"game_id":"nim","display_name":"Nim","blurb":"Take objects from one of three piles. Whoever takes the last object wins.","similar_to":["Nim, which is ancient","the matchstick game in Last Year at Marienbad"],"why":"Because it is solved. The player to move wins exactly when the XOR of the pile sizes is not zero, and that is arithmetic rather than opinion. I wanted one game whose every answer I already knew, so that when the metrics disagreed with it I would know the metrics were wrong and not the game. It is the calibration weight for the whole instrument.","players":[2,2],"rulebook":"Nim is a game for two players.\n\nThe game starts with 3 piles. Each pile holds 1 to 7 objects.\n\nPlayers take turns. Player 0 moves first.\n\nOn your turn, choose one pile. Remove 1 or more objects from that pile. You\nmust remove at least 1 object. You can remove up to all the objects in that\npile.\n\nYou cannot remove objects from more than one pile in the same turn.\n\nYou win if you remove the last object.\n\nA move is a pair of numbers. The first number is the pile. The second number\nis how many objects you remove.\n"}