Spend lives · play with them

    Controllers

    Every controller here has a story. Earn one with lives and play the code with it.

    The story of the code

    ↑↑↓↓←→←→BA began in 1986 as a Konami programmer's private shortcut, became the "30 lives" code in Contra, and escaped onto the web. Four moments, from a test cheat to a signature hidden on sites everywhere.

    1 / 4 Swipe or scroll sideways

    Choose your controller

    The controller you pick is the one you play with: on a touchscreen it becomes your on-screen pad, and its picture sits next to your name on the boards. Tap Use it to switch to one you own, or Buy to unlock a new one with lives.

    Everything you find, kept

    Codex

    Everything you uncover in The Code is kept here. Code and codex are the same word, from the Latin for a block of wood people wrote on.

    Fastest codes · longest chains · most lives

    High Scores

    Every run earns 30 lives, +1 for each extra code in a chain (up to +30), +10 under a second.

      Keyboard vs mouse vs touch vs controller

      The Input Wars Beta

      This is a test. The rules, the scores and the map may change or be wiped at any time.

      Which way of playing is best? One world, four sides. Every life you spend paints a square for your side and pulls the bar your way. The 16 regions are named after places in classic games.

      THE CODE
      1 ♥ empty square3 ♥ take another side's1 ♥ repaint your side's

      The 16 regions

      Keyboard

      Loud, precise and proud of it. The input computers were born with, and where most people first typed the code into a browser.

      Mouse

      Point, click, conquer. It started as Douglas Engelbart's wooden box in 1968 and became the sharpest aim in gaming.

      Touch

      The side in everyone's pocket. Glass has no buttons, so every tap is a little leap of faith.

      Controller

      The side the code was born on: a Famicom pad, 1986. Thumbs on the d-pad, a little help from aim assist and no apologies.

      The Code · you've been recruited

      The Input Wars

      Keyboard vs mouse vs touch vs controller. Which way of playing is best? Every life you spend paints one square of the world for your side.

      Your side is whatever you enter the code with. Enter it here, on a keyboard, with a mouse, a finger or a gamepad:

      ↑↑↓↓←→←→BA

      30 LIVES

      —fastest
      ×1chain
      —rank

      Player

      Pick a handle

      Up to 8 characters. It goes on the scoreboard and every square you paint.

      GAME OVER

      You spent all your lives in the Input Wars.

      CONTINUE?

      Ownership

      Do you own your games?

      Plug in a cartridge and it works. Buy a download and it depends.

      A cartridge just worked. You plugged it in, turned it on and it played, then and thirty years later. The code still works in every original copy of Contra.

      Downloads are different. When Nintendo closed the Wii U and 3DS eShops on March 27, 2023, games that were only sold there could no longer be bought at all. Ubisoft shut down the servers for its online-only racing game The Crew on March 31, 2024, and the game stopped working for everyone who had paid for it.

      People pushed back. The Stop Killing Games campaign gathered 1,294,188 verified signatures from EU citizens asking that games stay playable after their servers go. In June 2026 the European Commission answered that it would broker a voluntary industry code instead of a law. Since January 2025, California's AB 2426 makes stores say plainly when a "purchase" is really a license that can end.

      Then there are emulators: programs that let a modern machine run old games. Small handhelds from makers like Anbernic run Linux and play decades of games in your pocket. Emulators themselves are legal, but companies fight the ones tied to piracy. In 2024 the makers of the Switch emulator Yuzu paid Nintendo $2.4 million and shut it down. Nintendo's Switch 2 user agreement says it can make a console permanently unusable if you break its rules.

      When I want to show my daughter the games I grew up with, the old hardware is hard to find and expensive, sold between collectors. Emulation is often the only practical way. Preserving a game means keeping it playable, not just keeping it for sale.

      The code only matters if the game still runs.

      This page is part of a game. Play it to find the rest.

      Find the rest