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?

      Credits

      Why I made this

      It starts with the code.

      This site is called The Code because everything here starts with one. Ten presses. A secret that was never meant to get out, and got out anyway.

      I played Contra with my sister. Normally you got three lives and one hit took one. A friend showed me a code from the back of Nintendo Power and suddenly we had thirty. Two kids who kept dying could finish the game together. We beat it so many times. There was no internet. The code moved one kid at a time and it still reached everyone.

      The code was never meant for us. Kazuhisa Hashimoto wrote it in 1986 so he could get through Gradius while testing it. It was supposed to come out before the game shipped. It stayed in and it became a gift. That is what a code is. Someone finds a way through and leaves it behind for whoever comes next.

      What the code gave you was thirty lives. With three you play scared. You hang back. You skip the jump that might be a shortcut. You never learn what is past the hard part. With thirty you try things. You fail and you learn the level by failing on it. Thirty lives don't make you a better player. They give you room to become one.

      In 2017 Alex Honnold climbed El Capitan with no rope at all. To most people it looked reckless. But he had climbed that route again and again on a rope until he knew every hold. The rope was his thirty lives. He spent them rehearsing so the one life he risked was the last step of a long practice and not a gamble.

      Life doesn't hand out lives evenly. Some people start with thirty: money, family, time and a safety net. Others start with three and have to make every move count. When you have less, failing costs more. The sociologist Robert Merton called it the Matthew effect: whoever starts ahead gets more help and pulls further ahead. Nobody is self-made. Behind every success are people who gave a lead, a loan or a second chance. Great things get done by teams.

      The code is the best answer I know. Nobody earned those thirty lives. A kid read them in a magazine and passed them on for free. You can do the same. Teach someone what you know. Give someone a second chance. Check in on someone. Put the phone down and be there. Every time you do you hand someone thirty lives.

      Games taught me not to be afraid of failing. You die. You learn why. You go again. It is how anyone gets good at anything and it is how games get made. I've spent my career building them and that never changed.

      Contra fit on a cartridge with less memory than a single photo on your phone. You don't need much to start. Take your thirty lives and try the hard thing. Then pass the code on.

      Dan

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

      Find the rest