Best bit
According to the legend, each leader's artificial intelligence in Civilization had a parameter that described their aggression on a scale from 1 to 10, with 1 being least aggressive and 10 most aggressive.[3][4] Other sources say the scale went from 1 to 12.[5] Indian leader Mahatma Gandhi was the only leader in the game with the lowest possible aggression rating of 1[6] and, as a result, was only able to wage defensive wars.[7] Once the AI changed its government form to democracy, which was preferred by peaceful nations such as India,[4] its aggression level decreased by 2. In the case of Gandhi, this would lead to an aggression level of −1.[8]
However, the aggression level was stored as an 8-bit unsigned integer variable that could only store values in the range from 0 to 255 (or 28 − 1). The negative value would therefore result in an integer overflow (specifically an integer underflow), with the value being stored as 255[8] and Gandhi becoming about 25 times more aggressive than the most aggressive leaders in the game.