Subject: Re: Advice on Nim
Date: Wed, 26 Nov 1997 18:00:47 -0500
From: Alex Bogomolny
You write neat code. It's best you'll do your own changes. What you are talking about is known as Misere Nim. You are lucky it's Nim. For other games Misere is not that simple. The strategy is a little more complex than for the "straight" Nim:
Play just as in ordinary Nim until all the heaps, with just one exception, contain a single chip. Then take all chips, or all but one, from the exceptional heap, so as to leave an odd number of heaps of size one.