Coding with Minecraft



Download free course Coding with Minecraft, pdf file on 256 pages by Al Sweigart.
You've mined for diamonds, crafted dozens of tools, and built all sorts of structures - but what if you could program robots to do all of that for you in a fraction of the time?

In Coding with Minecraft, you'll create a virtual robot army with Lua, a programming language used by professional game developers. Step-by-step coding projects will show you how to write programs that automatically dig mines, collect materials, craft items, and build anything that you can imagine. Along the way, you'll explore key computer science concepts like data types, functions, variables, and more.

Learn how to:
- Program robots that make smart decisions with flow control;
- Reuse code so that your robots can farm any crop you want, including wheat, sugar cane, and even cacti!;
- Program a factory that generates infinite building supplies;
- Design an algorithm for creating walls and buildings of any size;
- Code yourself a pickaxe-swinging robotic lumberjack!;
- Create a robot that digs mine shafts with stairs so you can explore safely.

Bonus activities in each chapter will help you take your coding skills to the next level. By the end of the book, you'll understand how powerful coding can be and have plenty of robots at your beck and call.


Table of contents

  • Getting Started with Minecraft and Computercraft
  • Basic Lua Programming for Turtles
  • Talking to Your Turtle
  • Programming Turtles to Dance
  • Making a Better Dancer
  • Programming a Robo Lumberjack
  • Creating Modules to Reuse Your Code
  • Running an Automated Tree Farm
  • Building a Cobblestone Generator
  • Making a Stone Brick Factory
  • Constructing Walls
  • Constructing Rooms
  • Constructing Floors
  • Programming a Robotic Farm
  • Programming a Staircase Miner
  • Function Reference
  • Name ID Reference
Pages : 256
Size :
File type : PDF
Downloads: 74
Created: 2022-02-01
License: CC BY-NC-SA
Author(s): Al Sweigart
Coding with Minecraft

Others Minecraft Coding Tutorials

Others related eBooks about Coding with Minecraft

Introduction to Java programming

With this PDF tutorial you will be familiar with basic Java language syntax and able to write a simple Java programs and writing good Java code....

Think Python

Download free course Think Python, pdf file on 244 pages by Allen Downey....

The Little ASP.NET Core Book

Download free course The Little ASP.NET Core Book, pdf file on 127 pages by Nate Barbettini....

Getting started with MongoDB

MongoDB is a document-oriented NoSQL database. As we will see, the whole system revolves around this document management, including the query language, which makes it its strong point. We are going to tackle now the setting up of a Mongo server and how to integrate your data in this environment....

Using the Web to Build the IoT

The Internet of Things offers us an internet that is becoming more than just a mass of mul..., download free IoT tutorial in PDF (176 pages) created by ....

Network Programming with Go

Dive into key topics in network architecture and Go, such as data serialization, application level protocols, character sets and encodings. This book covers network architecture and gives an overview of the Go language as a primer, covering the latest Go release....

Spring Framework Tutorial

Download free Spring tutorial course in PDF, training file in 18 chapters and 68 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Kotlin Programming Language

This PDF tutorial is intended to beginners to help them understand the basics of Kotlin programming language. Download Free training document under 52 pages....

A Byte of Python

Python is one of those rare languages which can claim to be both simple and powerful. You ..., download free Python tutorial in PDF (117 pages) created by Swaroop C H ....

Raspberry Pi Projects Book

Download free course Raspberry Pi Projects Book, pdf file on 204 pages by Wes Archer, David Crookes, PJ Evans, Gareth Halfacree, Rosie Hattersley, Nicola King, Ben Nuttall, Marc Scott, Danny Staple, Mark Vanstone....