In Kotaku, Luke Plunkett explains why of all the AI leaders in the game, none are more likely to espouse the philosophy “nuke ’em ’till they glow, then shoot ’em in the dark” than India’s Gandhi:
In the original Civilization, it was because of a bug. Each leader in the game had an “aggression” rating, and Gandhi – to best reflect his real-world persona – was given the lowest score possible, a 1, so low that he’d rarely if ever go out of his way to declare war on someone.
Only, there was a problem. When a player adopted democracy in Civilization, their aggression would be automatically reduced by 2. Code being code, if Gandhi went democratic his aggression wouldn’t go to -1, it looped back around to the ludicrously high figure of 255, making him as aggressive as a civilization could possibly be.
In later games this bug was obviously not an issue, but as a tribute/easter egg of sorts, parts of his white-hot rage have been kept around. In Civilization V, for example, while Gandhi’s regular diplomatic approach is more peaceful than other leaders, he’s also the most likely to go dropping a-bombs when pushed, with a nuke “rating” of 12 putting him well ahead of the competition (the next three most likely to go nuclear have a rating of 8, with most leaders around the 4-6 region).
Update, 16 November: Fixed the broken link.