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.

Will you support Eurogamer?

We want to make Eurogamer better, and that means better for our readers - not for algorithms. You can help! Become a supporter of Eurogamer and you can view the site completely ad-free, as well as gaining exclusive access to articles, podcasts and conversations that will bring you closer to the team, the stories, and the games we all love. Subscriptions start at £3.99 / $4.99 per month.

About the Author

Tom Phillips avatar

Tom Phillips

Deputy Editor

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


More News

Latest Articles

Supporters Only

Eurogamer.net logo

Buy things with globes on them

And other lovely Eurogamer merch in our official store!

Eurogamer.net Merch