2PROGRAMMING BASICS

image

In this chapter, we’ll explore the basics of crafting Minecraft robots, or turtles. We’ll create our first turtle and name it. Then we’ll fuel it up and try out a few programming instructions! You’ll also learn some basic programming concepts and how you can practice coding in Minecraft.

GETTING STARTED WITH TURTLES

The Logo programming language, created in the 1960s, introduced programmable turtles. In Logo, turtles were dots on the screen that you could program to move around and draw lines, creating amazing patterns. Using Logo, you could learn to program while creating art with your computer! Figure 2-1, made using a program ...

Get Coding with Minecraft now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.