12 games that teach kids to code — and are even fun, too


Who it’s for: 5+ to adults
Platforms: iOS
Pricing: Free
Find out more: iTunes
The expert view: “Great iPad app to teach coding. Used it with my two kiddos.” — Educational entrepreneur and Google Teacher Academy co-founder Mike Lawrence

Cargo-Bot was created with Codea on an iPad.

Above: Cargo-Bot was created with Codea on an iPad.

Image Credit: Dan Crawley

Cargo-Bot was the first game programmed entirely on an iPad. It’s accessible for kids as young as five on its easiest levels, but it offers a real challenge as it progresses.

Players use a moving crane to shift boxes around a factory. In doing so, they use coding concepts like loops and procedures and do a ton of debugging.

“I wanted it to be a game about moving blocks around with a claw and make you forget that you are in fact programming,” developer Rui Viana told Fast Company


Who it’s for: Ages 10+ (and adults)
Platforms: PC, Mac, Linux, iOS, Android
Pricing: Free demo, $10 (Steam), $3 (iOS/Android)
Find out more: SpaceChem website, SteamiTunesGoogle Play
The expert view: “I believe SpaceChem [is] the best programming game yet made.” — Neil Brown, Computing education researcher, University of Kent, U.K.


Above: Schools worldwide have used SpaceChem to support learning. It’s still very much a game, though.

Image Credit: Gaming to Learn

SpaceChem’s fusion of programming and pseudo-chemistry in a science-fiction setting earned great reviews on its 2011 release.

Tough enough to challenge high-school students and beyond, SpaceChem tasks players with building machines to fight monsters, using programming concepts like in-order execution, loops, branching, and subroutines. Developer Zachtronic Industries details exactly what the game can help teach in its educators guide.

“SpaceChem is the game I wish I could give to my 12-year-old self and let him go crazy,” according to educational blog Gaming to Learn. “When you hear people talking about how important it is to learn to write code, this is what they are talking about. Games like this teach the gamer how to think.”

Robot Turtles

Who it’s for: Ages 3-8
Platforms: Board game
Pricing: $25
Find out more: Robot Turtles websiteKickstarter
The expert view: “Man, start ‘em young! This is awesome! The future is looking bright!” — John Legere, Chief executive officer, T-Mobile

Robot Turtles

Above: Playing a game of Robot Turtles.

Image Credit: YouTube

This programming board game for very young kids raised over $600,000 on Kickstarter last year. It only needed $25,000 to get funded.

Such was the demand for the game, which teaches programming fundamentals by using instruction cards to command turtles around a maze, that it sold out of its initial 25,000 production run straight away. Kids use limited syntax, sequence instructions, and debug when they’ve made an error, and the game only takes seconds to learn according to creator Dan Shapiro.

“I’m a big believer that programming is like a superpower you can give kids, a way to ensure that the innovations of the future won’t leave them behind,” Sharipo told TechCrunch.

Recently acquired by games company ThinkFun, Robot Turtles is hitting the mass market later this month.

Code Combat

Who it’s for: Ages 13+ (or younger with guidance/consent)
Platforms: Web browsers
Pricing: Free
Find out more: Code Combat website
The expert view: “Very creative and engaging approach to teaching coding through play.” — Jason Battles, Associate Dean for Library Technology Planning and Policy, University of Alabama

Code Combat fuses wizards, ogres, and coding in a fun way.

Above: Code Combat fuses wizards, warriors, ogres, and coding in a fun way.

Image Credit: Dan Crawley

Code Combat is the only title on the list that has players inputting actual code to play (Javascript currently, with experimental support for CoffeeScript, Python, Clojure, and Lua). Don’t let that put you off, though, as Code Combat does a great job of entertaining while teaching.

You can work through single-player levels in this fantasy-themed game, then unleash your new-found coding skills on other players. There’s a multiplayer tournament called Greed in progress right now with $40,000 worth of prizes up for grabs.

Code Combat hopes to stay free by helping companies recruit high-level players. Yep, that’s right. Playing a game can get you a job.

View All
Robotinmaze Robotinmaze
Robotinmaze Robotinmaze


There is a simple but interesting small game. It is for children (8-12 years old). The game allows children to try some the simplest programming constructions in playful way. The last levels in the game are difficult enough for children and look like puzzles.

It is an online game and free.

Lawrence Garvin
Lawrence Garvin

Hey.. uh.. maybe you didn't hear... Gates ain't the chairman of Microsoft no more.

Jonathan Schor
Jonathan Schor

You didn't mention the new kid in the block - CodeMonkey!

It teaches kids real programming through an online game, and it's pure HTML5 so soon will be accessible also through tablets. 

Zerothis Baud
Zerothis Baud

Add to the list, DroidQuest is lower-level programming using logic gates. After completing the game, that requires solutions as complex as networking 3 robots, yet mostly simple solutions, there is a 'sand box' style lab (mainly for practicing game solutions) that can be used to create virtually anything that can be created with logic gates including microprocessors, up to 12-bit communication buses, and memory. So, it should remain useful and entertaining for children of all ages. The source code is available and other levels and challenges for the game have been created. <>. Oh, and the full version is available from the author and no cost. Also, its pure Java, runs on any platform with JRE (Linux, Mac, Windows, Solaris)

Adam Taylor
Adam Taylor

As a parent of young kids, this article just got bookmarked. Boo-ya!

Jason Wilson
Jason Wilson moderator VB Staff

I may have to try a few of these myself! They look fun. 

GamesBeat is your source for gaming news and reviews. But it's also home to the best articles from gamers, developers, and other folks outside of the traditional press. Register or log in to join our community of writers. You can even make a few bucks publishing stories here! Learn more.

You are now an esteemed member of the GamesBeat community. That means you can comment on stories or post your own to GB Unfiltered (look for the "New Post" link by mousing over your name in the red bar up top). But first, why don't you fill out your via your ?

About GamesBeat