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, 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


Sometimes we include links to online retail stores. If you click on one and make a purchase we may receive a small commission. Read our policy.

Jump to comments (27)

About the author

Tom Phillips

Tom Phillips

Deputy Editor  |  tomphillipsEG

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.


You may also enjoy...

Supporters only

Comments (27)

Comments for this article are now closed. Thanks for taking part!

Hide low-scoring comments

Buy things with globes on them

And other lovely Eurogamer merch in our official store!

Eurogamer Merch
Explore our store