{{t.emoji}}{{t.msg}}
๐Ÿ๐Ÿฑ๐Ÿถ๐Ÿฐ๐Ÿผ

Backyard Grand Prix

Zoom around the backyard in tiny animal karts!

๐ŸŽ๏ธ {{curRacer.emoji}} {{curRacer.name}} ยท {{curColor.name}}
๐ŸŒฑ offline ยท no ads ยท just fun
๐Ÿ Play & Code ยท made with โค๏ธ for young coders ยท v1.1

๐Ÿ Pick Your Racer

Who is driving?

{{r.emoji}}
{{r.name}}
{{r.say}}
โœ…

Kart color

๐Ÿ”’ โœ”

๐Ÿ”’ colors unlock when you finish 1st on a track!

๐Ÿ—บ๏ธ Choose a Track

{{curRacer.emoji}}
๐Ÿ Lap {{hud.lap}}/{{LAP_COUNT}}
{{placeLabel}}
๐Ÿ’จ BOOST!
โฑ {{timeText}}
{{hud.countLabel}}
โ†ฉ Wrong way! Turn around!
โฌ…๏ธ
โžก๏ธ
โฌ‡๏ธ
โฌ†๏ธ
โธ๏ธ

Pit Stop!

{{c.e}}
{{results.big}}

{{results.headline}}

{{results.line}}

โญ
โฑ {{results.timeText}} NEW BEST! ยท best {{results.bestText}}
{{r.medal}} {{r.emoji}} {{r.name}} (you!) {{r.time}}
โ†‘ go ยท โ†“ brake ยท โ† โ†’ steer (or the big buttons) ยท P = pause

โ“ How to Play

๐ŸŽฎ

Press โ†‘ to go, โ†“ to brake or back up, โ† โ†’ to steer. On a tablet, use the big round buttons. (W, A, S, D and Space work too!)

๐Ÿ

Race 3 laps around the track. The little arrow above your kart is you โ€” beat the other animal racers to the finish line!

๐Ÿ’จ

Drive over the glowing boost pads for a super-speed zoom. Wheee!

๐ŸŒฑ

Stay on the dirt track! Driving on the grass makes your kart slow and sleepy โ€” but you can never get stuck.

โ†ฉ๏ธ

If you see "Wrong way!", turn around and follow the track the other way.

โญ

Finish 1st for 3โญ (and to unlock the next track and a new kart color), 2nd for 2โญ, 3rd or 4th for 1โญ. Your best time is saved!

๐ŸŽจ

Change your animal racer and kart color anytime from the menu.

โš™๏ธ Settings

๐ŸŒฑ Start over

Erases racer, colors, stars and best times. There's no undo!

Really erase it all?
Races: {{profile.plays}} ยท Wins: {{profile.wins}} ยท v1.1

๐Ÿ› ๏ธ Game Master Lab

You are the race engineer! Move a slider, then go race and feel the difference.

{{d.icon}} {{d.name}} ยท {{d.hint}} {{profile.lab[d.key]}}{{d.unit}}
{{d.min}}normal = {{d.def}}{{d.max}}
๐ŸŒˆ Backyard theme ยท changes the whole sky, right now!
๐Ÿ“ฆ
Variables

A variable is a named number. MAXS is your kart's top speed โ€” slide it and feel what 265 pixels per second really means!

๐Ÿ”
Loops

The game loop runs ~60 times every second. Each run pushes your kart forward using ACC (acceleration) for a tiny moment โ€” lots of tiny pushes = zoom!

โ“
Conditions (if)

The code asks if your kart left the track, and only then slows it by GRASS (0.44 = keep 44% of your speed). If-statements make the rules!

โŒจ๏ธ Type real code!

Try MAXS = 300, or STEER = 1 + 1, or even GRASS = MAXS / 10 โ€” then press Enter.

{{labMsg}}
{{labReadout}}