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: 48
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

How To Make Video Games

Learn How To Make Video Games, This ebook shows you everything you need to know to make video games....

Android Programming Tutorials

This book shows you what you can do with Android, through a series of 40 individual exercises. It gives you hands-on instruction in how to build sophisticated Android applications, using many of the technologies outlined in CommonsWare's other Android books. ...

C# programming tutorial for professionals

Download free C# tutorial course in PDF, training file in 164 chapters and 808 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Getting started with C#

Free tutorial in PDF about C# programming ,a training document under 52 pages designated to beginners who want to learn the basics of CSharp language....

A Programmer's guide to C# 5.0

Download a free Csharp training document in PDF .This pdf tutorial is for software developers who want to understand the basics of C# programming....

Basic OOP in Java

This tutorial you will learn the basics of Object-Oriented Programming in Java including class ,methods ,construcstors with some examples....

Introduction to ADA 2012

This course is for developers who already know Ada 95 and want to learn about the new possibilities brought by Ada 2005 and Ada 2012. A brief introduction to Ada 2012 by John Barnes....

Deep Learning and the Game of Go

The ancient strategy game of Go is an incredible case study for AI. In 2016, a deep learning-based system shocked the Go world by defeating a world champion. Shortly after that, the upgraded AlphaGo Zero crushed the original bot by using deep reinforcement learning to master the game. Now, you can l...

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 ....

Problem Solving with Algorithms and Data Structures

Download free course Problem Solving with Algorithms and Data Structures, pdf file on 240 pages by Brad Miller, David Ranum....