A coding game you drive

Code Highway — six languages, four lanes. Steer into the one that's true.

Pick a language and the road starts moving. Every sign shows a short piece of code and paints three answers onto three of the road's four lanes. Steer into the true lane before the sign reaches you and it pays ten. Steer into a wrong one and it costs six and a life. The fourth lane is always left open: drift into it and nothing happens, which is exactly what not guessing should cost.

Play Code Highway →

Free, and no account needed — play as a guest. Runs in the browser — nothing to install.

Six languages

Chosen once, before the first sign, and kept for the whole drive:

What it teaches

The basics every language shares, asked in that language's own syntax:

A sign is read at speed with a car already drifting toward it, so the code on it is short — a few lines, never a puzzle. The difficulty climbs as the road goes on:

SignsBandWhat it asks of
1–4easysomebody who has written a first script or class
5–8mediumsomebody who has finished a tutorial
9 onwardhardsomebody who has read another person's code and worked out why it broke

The lanes

LaneWhat it does
Truepays 10
Wrongcosts 6 and a life
Opennothing — no points, no life lost

The road speeds up. The first sign gives you six and a half seconds; by the twelfth it is down to just over four, and it holds there for as long as you last. Three wrong lanes end the drive, however far it got.

Questions and answers

Is this for complete beginners?

The first signs assume you have written a few lines in the language you pick. If you have not, the open lane is always there — take it, and read the answer when the drive ends.

Can I play it on a phone?

Yes. Swipe across to change lanes, or use the steer columns down each edge of the road. On a keyboard, the arrow keys steer and 1–4 jump straight to a lane.

Is it free?

Yes. Every game on SULULU is free and there is nothing to buy.

The other games on SULULU