If you click on a link and make a purchase we may receive a small commission. Read our editorial policy.

Now you can learn code while playing Minecraft

C+ for effort.

Minecraft maker Mojang has launched an online tutorial to help teach kids how to code.

It's like a next-gen version of Logo, if you remember that.

The project, a collaboration between Mojang and Code.org, sees the player combining code snippets to accomplish tasks in a cut-down version of Minecraft.

It's a smart idea and well laid out, so that after a series of exercises you are quickly incorporating code loops and other trickery.

By snapping together code you can command Minecraft protagonists Steve or Alex to move, harvest, plant crops, and eventually build houses or navigate a maze of explosive Creepers.

After you're done you can then see the code version of the system you have created, showing how your work in the game's colourful interface translates in programming language.

The project is meant to last an hour - making it perfect for classrooms.

I tried it myself and, as a barely-functioning adult with no experience of code, even I found it easy to use.

You can try it now for yourself at code.org/mc.

Topics in this article

Follow topics and we'll email you when we publish something new about them.  Manage your notification settings.

About the Author
Tom Phillips avatar

Tom Phillips


Tom is Eurogamer's Editor-in-Chief. He writes lots of news, some of the puns and makes sure we put the accent on Pokémon.

Eurogamer.net logo

Buy things with globes on them

And other lovely Eurogamer merch in our official store!

Explore our store
Eurogamer.net Merch