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: 82
Created: 2022-02-01
License: CC BY-NC-SA
Author(s): Al Sweigart
Coding with Minecraft

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others Minecraft Coding Tutorials

Others related eBooks about Coding with Minecraft

Flutter in Action

With Flutter, you can build mobile applications using a single, feature-rich SDK that includes everything from a rendering engine to a testing environment. Flutter compiles programs written in Google’s intuitive Dart language to platform-specific code so your iOS and Android games, utilities, and ...

Tutorial XML in PDF

Download free XML tutorial course in PDF, training file in 8 chapters and 25 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

ASP.NET WebHooks Succinctly

Download free course ASP.NET WebHooks Succinctly, pdf file on 94 pages by by Gaurav Arora....

Kotlin tutorial in PDF

Download free Kotlin tutorial course in PDF, training file in 38 chapters and 118 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Modern Perl

Modern Perl is one way to describe how experienced and effective Perl 5 programmers work. They use language idioms. They take advantage of the CPAN. They're recognizably Perlish, and they show good taste and craftsmanship and a full understanding of Perl. ...

A Practical Introduction to Python Programming

This book started out as about 30 pages of notes for students in my introductory programmi..., download free Python tutorial in PDF (263 pages) created by Brian Heinold ....

Essential Swift

This book written to provide clear and concise explanation of topics for programmers both starting to learn the Swift programming language as well as those diving in more complex topics. Most examples are linked to online playground that allows you to change the code and re-run it....

Perl tutorial for professionals

Download free Perl tutorial course in PDF, training file in 39 chapters and 109 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Introduction to Struts

This tutorial is an example using struts tiles ,free training document courses under 14 pages bu sasha wolski....

Python re(gex)?

Download free course Python re(gex)?, pdf file on 71 pages by Sundeep Agarwal....