The "Nuclear Gandhi" myth: A Civilization legend debunked
The infamous "Nuclear Gandhi" bug from the original Civilization game is a well-known gaming legend. But was it real, or just a community-created myth? Let's explore the history and truth behind this legendary glitch.
The Legend: The story goes that in the original Civilization, leaders had an aggression value (1-10, or 1-12 depending on the account), with 1 being pacifist and 10 being aggressive. Gandhi, being a pacifist, started at 1. Upon adopting Democracy, his aggression supposedly dropped by 2, resulting in -1. This negative value, according to the legend, caused an 8-bit integer overflow, flipping it to 255—making him incredibly aggressive and prone to nuclear attacks.
The Reality: Sid Meier, the game's designer, debunked this in 2020. He stated that the integer variables were signed, preventing the overflow. Furthermore, government type didn't affect aggression levels. Brian Reynolds, lead designer of Civilization II, confirmed this, stating the original game only had three aggression levels, and Gandhi wasn't unique in his pacifism. There was no unsigned variable in the code, and even if a leader exceeded the maximum aggression, there was no mechanism to increase their aggression further.
The Myth's Spread: The Nuclear Gandhi myth didn't gain traction until the mid-2010s, long after the original Civilization's popularity waned. It likely originated from a user-submitted entry on TV Tropes in 2012, then spread through gaming publications.
A Twist: While the original Civilization didn't have a Nuclear Gandhi bug, Civilization V did. Jon Shafer, lead designer, explicitly coded Gandhi's AI to highly favor building and launching nukes. This likely fueled the existing myth.
The Legacy: Civilization VI even acknowledged the myth, giving Gandhi a high chance of the "Nuke Happy" hidden agenda. However, Gandhi's absence in Civilization VII may finally lay the legend to rest.
← Return to Sid Meier's Civilization VII main article