The new video Kodu game will teach you (or your kid) about programming.

Innovation, the Internet, gadgets, and more.
July 10 2009 6:53 AM

Logo on Steroids

The new video game Kodu will teach you (or your kid) about programming. It's also actually fun.

(Continued from Page 1)

The marriage of games and coding has often felt forced. Most attempts err on the side of being educational, which is probably why they're more often associated with school than home. The graphics in these programs have gotten progressively better since Logo's heyday, but most of them—Alice and Scratch, for example—still involve writing code. (Lego, which used to collaborate with Logo, now offers a sophisticated robotics line with a more graphical programming interface.) I loved playing Logo, but I was always aware that I was learning. Super Mario Bros. had come out three years earlier, and not too many of us would have chosen turtles over their mutant cousins the Koopa Troopas. Kodu's pedagogical mission, in contrast to its predecessors, doesn't feel contrived because it doesn't require any of that pesky writing and it has the same production quality as any other video game for kids.

What are kids who play with Kodu actually learning? While Logo puts code in the foreground, Kodu deliberately keeps out any mention of variables, functions, recursion, or any other programming argot. In fact, the interface is so friendly that players can be forgiven if they don't realize that they're learning anything at all. There is not currently any obvious bridge between the game and traditional coding—you aren't taught how to write out commands, and there's no way to look under the hood to see your rules translated into traditional code. What you are learning is how to build an environment.

Advertisement

From a programming perspective, this is an advanced concept. Most software is still written sequentially, like Logo, with one command running after another, the same way you read a book line by line. Kodu is more like a piece of orchestral music, with lots of individual parts all playing at once. The characters you create do not patiently wait their turn to act—all of the UFOs react to all of the other UFOs, all at the same time—which is why delightful complexity is almost unavoidable after you've written a few lines of Kodu legislation.  

Without making any bold predictions about the future of computer science, this feels like a useful way to think about how to write a program, particularly as we move to a computing environment in which lots of parallel processors are running in tandem. That being said, Kodu's built-in language probably won't escape the bounds of the game anytime soon. Matt MacLaurin, the game's creator, says he's thought about expanding Kodu to allow players to write their own rules in code when they want to do something that's not included in the game's considerable library of tools. (By way of analogy, think of blogging platforms that let you write posts in a word-processor window but give you the option of messing with the HTML directly if you're trying to do something fancy.)

While this is a sensible thing to offer down the line, it's not an essential part of Kodu's mission. Even without tinkering with code, kids will develop reasoning skills by simply messing around. That's why I recommend the game even for those of us who are over the age of 9. There is something innately appealing about dabbling in a mechanical world of your own making. Building a game forces you to think of complicated situations as the sum of simple rules. It also makes you realize that, even when you write the rules yourself, understanding the whole system isn't as easy as understanding each individual part. Predicting how lots of pieces will or won't work together is a central question in any number of fields, and Kodu is a surprisingly good microcosm of this problem. Give it a shot, even if Logo lost you at Forward 10.

TODAY IN SLATE

Foreigners

The World’s Politest Protesters

The Occupy Central demonstrators are courteous. That’s actually what makes them so dangerous.

The Religious Right Is Not Happy With Republicans  

The XX Factor
Oct. 1 2014 4:58 PM The Religious Right Is Not Happy With Republicans  

The Feds Have Declared War on Encryption—and the New Privacy Measures From Apple and Google

The One Fact About Ebola That Should Calm You

It spreads slowly.

These “Dark” Lego Masterpieces Are Delightful and Evocative

Crime

Operation Backbone

How White Boy Rick, a legendary Detroit cocaine dealer, helped the FBI uncover brazen police corruption.

Politics

Talking White

Black people’s disdain for “proper English” and academic achievement is a myth.

Activists Are Trying to Save an Iranian Woman Sentenced to Death for Killing Her Alleged Rapist

Piper Kerman on Why She Dressed Like a Hitchcock Heroine for Her Prison Sentencing

  News & Politics
Politics
Oct. 1 2014 7:26 PM Talking White Black people’s disdain for “proper English” and academic achievement is a myth.
  Business
Moneybox
Oct. 1 2014 2:16 PM Wall Street Tackles Chat Services, Shies Away From Diversity Issues 
  Life
Outward
Oct. 1 2014 6:02 PM Facebook Relaxes Its “Real Name” Policy; Drag Queens Celebrate
  Double X
The XX Factor
Oct. 1 2014 5:11 PM Celebrity Feminist Identification Has Reached Peak Meaninglessness
  Slate Plus
Behind the Scenes
Oct. 1 2014 3:24 PM Revelry (and Business) at Mohonk Photos and highlights from Slate’s annual retreat.
  Arts
Brow Beat
Oct. 1 2014 9:39 PM Tom Cruise Dies Over and Over Again in This Edge of Tomorrow Supercut
  Technology
Future Tense
Oct. 1 2014 6:59 PM EU’s Next Digital Commissioner Thinks Keeping Nude Celeb Photos in the Cloud Is “Stupid”
  Health & Science
Science
Oct. 1 2014 4:03 PM Does the Earth Really Have a “Hum”? Yes, but probably not the one you’re thinking.
  Sports
Sports Nut
Oct. 1 2014 5:19 PM Bunt-a-Palooza! How bad was the Kansas City Royals’ bunt-all-the-time strategy in the American League wild-card game?