← All Essays
Culture 11 min read

The Cheat Code

From developer backdoors and the Konami Code to Game Genie court cases and GameShark — the hidden language that ran underneath game culture

Developer backdoors

The first cheat codes were not designed for players. Developers testing a game needed to reach specific sections, try specific conditions, or start from specific points without playing from the beginning repeatedly. A sequence of button inputs that triggered a debug mode, infinite lives, or level select was a development tool — faster than rebuilding and redeploying to reach the section under test. These inputs were typically removed before shipping, but were sometimes left in accidentally or deliberately, either because removing them created its own risks or because developers expected few players to find them.

The inputs that were left in became the first cheat codes in the consumer sense: sequences of button presses that produced unexpected effects, discovered through systematic experimentation or by players who noticed unusual input sequences during development. Donkey Kong (1981) had a set of dip switch settings in the arcade cabinet that operators could adjust for difficulty, and which skilled players learned to read as implicit information about the machine's configuration. Pitfall! (1982) had no explicit cheat codes but could be played in unusual ways by exploiting edge cases in its world structure. The transition from accidental discovery to deliberate design happened gradually as publishers realised that cheat codes were valuable rather than embarrassing.

The Konami Code

The Konami Code — Up, Up, Down, Down, Left, Right, Left, Right, B, A — was created by Kazuhisa Hashimoto, a Konami programmer who was testing the NES port of Gradius (1986). The arcade Gradius gave players access to a full power-up screen at the press of a button during a paused game; the NES version was harder than the arcade due to the platform's hardware constraints, and Hashimoto found the game difficult to test in its retail configuration. He programmed a cheat code that gave the player 30 lives and forgot to remove it before the game shipped.

The code appeared in Gradius (1986), then in subsequent Konami NES games including Contra (1988), where it gave players 30 lives — a resource that made the game's difficulty navigable without exceptional skill. Nintendo Power, the official Nintendo magazine, published the Contra code in its first volume in 1988, distributing it to every subscriber and placing it in the hands of every player who walked into a store with a sample issue. The code became the most widely known cheat code in North American gaming history, eventually a cultural shorthand for the idea of a cheat code itself. Players who had never played Contra knew the sequence. The code appeared in advertising, merchandise, and references in contexts entirely unrelated to games.

Konami used the code deliberately in subsequent titles — sometimes as a functional cheat, sometimes as a reference that triggered a different, joke response, sometimes as a mechanism that unlocked bonus content. The code's cultural saturation meant that players tried it in new Konami games reflexively. Including it in some form was eventually a brand gesture rather than a design choice: acknowledging the community relationship that the code had created.

Game Genie and the legal battle

The Game Genie was a cartridge-shaped device that fit between a console and a game cartridge, intercepting the address lines between the two and replacing certain memory values as the game read them. Entering a code on the Game Genie's keypad programmed the device to replace specific values in the game's code — changing, for example, the value the game read for the player's life count so that it returned 99 rather than 3. The codes were not embedded in the Game Genie but published in code books and magazines: players purchased or looked up codes that produced specific effects, entered them, and played the modified game without any changes to the game cartridge itself.

Codemasters and Camerica, who developed and distributed the Game Genie, submitted the device to Nintendo for approval under their third-party licensing system. Nintendo refused approval and sued to block Game Genie sales in the United States, arguing that the device created an unauthorised derivative work by modifying Nintendo's copyrighted software in real time during play. The case, Lewis Galoob Toys v. Nintendo of America (Galoob had acquired Camerica's distribution rights), went to the Ninth Circuit Court of Appeals, which ruled in 1992 that the Game Genie's operation did not create a permanent copy or derivative work and therefore did not infringe Nintendo's copyright. The ruling allowed Game Genie sales to continue and established a legal precedent for hardware modifications that altered game behaviour without creating stored copies.

The Game Genie and its successors — GameShark, Action Replay, Code Breaker — created a retail market for cheat device hardware that operated parallel to the official game market. Publishers had mixed relationships with these products. Codes that allowed players to see content they hadn't earned through play were commercially undesirable — they reduced the incentive to replay or improve. Codes that allowed players to progress past sections that had frustrated them to the point of abandonment were potentially commercially neutral or positive, since they kept players engaged with a game rather than setting it aside permanently. The distinction wasn't one that device manufacturers maintained; their business was selling codes, not designing optimal player experiences.

What cheating reveals

The persistent presence of cheat codes throughout gaming history reflects an unresolved tension in game design between the designed experience — the difficulty curve, the progression system, the intended challenge — and the player's actual preferences and capabilities. A game that is too difficult for a specific player to complete in its standard configuration is, for that player, an incomplete experience. Cheat codes provided an unofficial opt-out from difficulty without requiring the developer or publisher to make an explicit design decision about offering one.

The industry's formalisation of this opt-out — through adjustable difficulty settings, assist modes, and accessibility features — represents a shift from treating cheating as a parallel market to integrating player accommodation into design. FromSoftware's games (Dark Souls, Elden Ring) are the current culture war locus of this tension: designers who believe difficulty is intrinsic to the experience, players who want the experience on terms the designer didn't specify. The debate is recognisably the same one that Game Genie users and Nintendo's lawyers were having in 1990, just with different vocabulary and without the product litigation.

The cheat code as a cultural form is largely obsolete in contemporary gaming: online connectivity makes server-side enforcement of game rules straightforward, and games designed around online leaderboards or multiplayer have obvious reasons to prevent modification. Single-player games with official console commands — PC games that expose their internal variables to the command line — are a continuation of the same impulse, now official rather than circumvented. The Konami Code is a museum piece that appears in contemporary games as a deliberate retro gesture. The debate it existed within is ongoing.