Coding with Minecraft
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 | |
| Downloads | 267 |
| Created | 2022-02-01 |
| License | CC BY-NC-SA |
| Author(s) | Al Sweigart |
Others related eBooks about Coding with Minecraft
-
Learning Java by Building Android Games
Android is the fastest growing operating system (OS) with one of the largest installed bas..., download free Java tutorial in PDF (392 pages) created by ....
-
C++ ,Pointers and Memory
This tutorial explains how to use pointers and memory and how the pointer works.A complete training document in PDF with sample code By Nick Parlante....
-
Cookbook for R: Best R Programming TIPs
The goal of this cookbook is to provide solutions to common tasks and problems in analyzing data. Each recipe tackles a specific problem with a solution you can apply to your own project, and includes a discussion of how and why the recipe works....
-
An Introduction to C & GUI Programming
Even if you are an absolute beginner, this book will teach you all you need to know to wri..., download free C Programming tutorial in PDF (156 pages) created by Simon Long ....
-
Building iPhone Apps with HTML, CSS, and JavaScript
Download free course Building iPhone Apps with HTML, CSS, and JavaScript, pdf file on 186 pages by by Jonathan Stark....
-
Programming A Game With Unity: A Beginner's Guide
This is a free Unity PDF tutorial in 11 chapters and 27 pages. This course aims to give students the basics of Unity concepts. ...
-
Python and the XML
Parser of HTML and XML with python and library Python Programming Course Tutorial Computing Learning....
-
DotNet for professionnals
Download free DotNet tutorial course in PDF, training file in 58 chapters and 192 pages. Free unaffiliated ebook created from Stack OverFlow contributor....
-
Java Persistence and Hibernate Guide for developer
This PDF tutorial provides you an introduction to Java Persistence and Hibernate including the code snippets and complete working examples ,download free training document material for developer....
-
Learn BlackBerry 10 App Development
Learn how to leverage the BlackBerry 10 Cascades framework to create rich native applicati..., download free BlackBerry 10 tutorial in PDF (356 pages) created by Anwar Ludin ....