Code Runner

Outrun null, undefined, NaN and runtime bugs in this endless runner for developers. Jump the obstacles, go the distance, built with Canvas 2D and zero dependencies.

📅

✍️ Gianluca

Avoid — jump them!

  • nullnull referencegame over
  • undefinedundefinedgame over
  • NaNnot a numbergame over
  • 🐛runtime buggame over

Controls

  • Space / ↑ / Clickjumpdesktop
  • Tapjumpmobile
  • Space / Tapstart / restartmenus
Your best score

What is Code Runner?

Code Runner is an endless runner arcade game for developers. You sprint along a terminal floor while the classic runtime hazards rush toward you: null, undefined, NaN, and the occasional 🐛. One well timed jump clears each one. Miss the timing and you throw an uncaught exception.

It is built with the HTML5 Canvas API and zero external dependencies, so it runs instantly on desktop and mobile, no install, no signup.

Game features

  • One button: Space, arrow up, click, or tap to jump.
  • Speed ramp: the run gets faster the further you go.
  • Distance scoring: your meters become your score.
  • High score tracking: best distance saved locally across reloads.
  • Share your run: challenge other developers in one click.

How to play

  1. Press Space or tap to start running.
  2. Jump over null, undefined, NaN, and bugs.
  3. The longer you survive, the faster it gets.
  4. Crash and press Space or tap to run again.

A fast, addictive coding break that fits in the time it takes a test suite to finish.