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?

      Difficulty

      Hard on purpose

      Two answers to a game that is too hard.

      Contra was hard on purpose. Arcade games were built to end quickly so you would put in another coin, and home games kept the habit. The code was one answer to that: make it easier.

      Modern games give that answer too. Celeste (2018) has an Assist Mode that slows the game down, and nobody is shamed for using it. Wii Sports was simple enough for grandparents and sold 82.9 million copies.

      FromSoftware gave the other answer: keep it hard and make failing the lesson. Every death in Dark Souls (2011) teaches you something about the enemy that killed you. The series once looked like a niche for masochists. The Dark Souls games have now sold more than 40 million copies, and Elden Ring passed 30 million by April 2025.

      Both answers respect the player. One says you deserve to see the ending. The other says you can do this if you keep trying. The code says both: here are thirty lives, now go learn the level.

      Here: thirty lives a run, never sold, and no penalty for dying except starting the run again.

      Go further

      Some games were famous for it. Ghosts 'n Goblins (Capcom, 1985), directed by Tokuro Fujiwara, makes you beat the whole game a second time on a harder level before you see the real ending.

      In Ninja Gaiden (Tecmo, 1988), directed by Hideo Yoshizawa, losing to any of the last three bosses sends you back to the start of Act 6. Masato Kato said it began as a glitch and the team kept it on purpose.

      Nintendo's own sequel was too hard for America. Howard Phillips at Nintendo of America called the Japanese Super Mario Bros. 2 (1986) "unfairly difficult." Americans got a reworked Doki Doki Panic instead and only played the original in 1993, as The Lost Levels in Super Mario All-Stars.

      Casual and hardcore are not two kinds of people. They are two ways into games. Jesper Juul wrote about both: A Casual Revolution (2009) on games that opened up to every age, and The Art of Failure (2013) on why we keep playing games that make us feel bad when we fail.

      Life works the same way. A hard thing feels possible when one failure isn't the end. That is what thirty lives gave two kids on a couch. Make the first try cheap, for yourself and for the people around you, and more people will take the risk.

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

      Find the rest