Learning to program with Minecraft

Lead Image © Kenny Kiernan and vician, 123RF.com

Raspberry Craft

No two ways about it: For knowledge to stick, the training must be entertaining. Fortunately, learning to program in Python has just become a lot more fun – now you can learn by playing Minecraft.

Minecraft [1], the "social lego" with zombies, skeletons, and creepers, has become a social phenomenon, earning a place in the Smithsonian's "Art of Videogames," a feature-length documentary [2], an article in The Guardian, and ports to nearly every modern personal computing platform in existence, including the Raspberry Pi.

Although you can run a Minecraft server from your Pi, hardware constraints won't allow you to play the full version directly on your Pi. However, a client version has been adapted to the Raspberry Pi, and that is the one I'll be using in this article.

Down the Shaft

The Pi version of Minecraft [3] is a bit limited, in that you can only use the Creative playing mode. This is similar to early versions of the game for mobile devices. In this mode, you have no mobs (animals, monsters, and non-player humans – a.k.a. "villagers"), and although you can dig, you can't pick up blocks (mine) or transform combinations of blocks into new objects (craft). Instead, in your inventory, you have an infinite number of the blocks and tools you need, and you use those to do your building.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF

Pages: 6

Price $2.95
(incl. VAT)

Buy Raspberry Pi Geek

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Using the Raspberry Pi as a Minecraft server

    Minecraft has millions of devoted fans worldwide, and players who organize a communal game with friends and acquaintances achieve an entirely new gaming experience. The Raspberry Pi is an excellent replacement for the Minecraft server.

  • Don't Use a Hammer

    When you first start building, you probably learn how to use one device and one programming language. Then comes the day you design a project that your toolset either can't solve or forces you to jump through too many hoops to get the outcome you desire. That's the day you start looking at new devices and languages to solve your problem. Having an arsenal of tools at your disposal makes solving problems easier.

  • Synchronizing with broadcasts

    This article draws inspiration from the popular Pokémon Go app to recreate a sprite hunting game in Scratch. The project explores synchronization and randomness as the player explores various backdrops in search of sprites.

  • Exploring the Kano Kit Pi pack and learning environment

    The Kano Kit learning platform puts the Pi in easy reach for even the youngest users.

  • Event Report: Pi and More 3

    From all over Germany, Raspberry Pi fans went to Trier in mid-June for "Pi and More 3." For a whole day, visitors of all ages enjoyed lectures and participated in hands-on workshops.