3 ms·
Today I learned that Gandhi destroys the world because of an integer overflow! "In the earlier Civs, leaders are given a set of attributes that dictate their b
by cabaalis 8y ago
Today I learned that Gandhi destroys the world because of an integer overflow!
"In the earlier Civs, leaders are given a set of attributes that dictate their behavior. One such attribute is a number scale associated with aggressiveness. Gandhi was given the lowest number possible, a rating of 1. However, when a civilization adopted democracy, it granted a civilization -2 to opponent aggression levels. This sent Gandhi’s rating of 1 into the negative, which swung it back around to 255 — the highest possible rating available, and thus, the infamous warmonger Gandhi was born." [1]
[1] https://www.geek.com/games/why-gandhi-is-always-a-warmongering-jerk-in-civilization-1608515/ https://www.geek.com/games/why-gandhi-is-always-a-warmongeri...