There was a bug in Civ I. Gandhi's aggressiveness was set to 1 by the game (on a 1-10 scale). If an AI adopts Democracy as a government, the game notches their aggressiveness down 2. As a result, if Gandhi adopted Democracy, you got a rollover error that led to his aggressiveness being set at 255/10.
Needless to say, he very rapidly turns from peaceful to murderous, and will them attempt to acquire and build nukes at all costs. He'll then nuke whatever he damn well feels like, because he's Gandhi.
The Civ team loved this bug so much, they deliberately programmed similar AI into every game. In Civ V, for example, every leader has a 'Use of Nukes' stat, that is, again, on a scale of 1 to 10. Gandhi's is hard-coded at 12 - even with the +/- 2 random modifiers assigned at game start, Gandhi's use of nukes will always be rounded to 10/10 would nuke again.
This entry was originally posted at http://wizzard.dreamwidth.org/313919.html. It has comments. Please comment there using OpenID.