A testing shortcut became Contra’s famous extra lives
The button sequence now associated with **30 extra lives in *Contra*** began as a developer’s way to make a difficult game easier to test. Kazuhisa Hashimoto, who worked on the home-console version of Konami’s Gradius, found the game tough to play through while checking it. He added a hidden input that gave the player powerful upgrades, letting him reach later stages without repeatedly struggling through the opening.
The sequence was not originally a general-purpose “30 lives” command. Its effect depended on the game: in Gradius, it supplied a set of power-ups. When a similar code was included in Contra, it instead granted 30 lives—a much more direct cushion against the side-scroller’s relentless enemies.
Why leave a cheat in the game?
A code useful during development can become a problem if it remains accessible in the finished game, so designers can remove it before release. But a secret that players discover may also add a new way to approach a demanding game. In Contra, the extra lives let players keep going after mistakes, turning a punishing challenge into something friends could tackle together for longer.
The famous sequence—up, up, down, down, left, right, left, right, then B and A—was therefore both a practical testing tool and a piece of hidden game design. A programmer’s shortcut outlasted its original purpose and became an invitation for players to bend the rules.





