Coding with Minecraft

Build Taller, Farm Faster, Mine Deeper, and Automate the Boring Stuff


Coding with Minecraft
Coding with Minecraft
CC BY-NC-SA

Book Details

Author Al Sweigart
Publisher No Starch Press
Published 2018
Edition 1
Paperback 256 pages
Language English
ISBN-13 9781593278533
ISBN-10 1593278535
License Creative Commons Attribution-NonCommercial-ShareAlike

Book Description

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.


This book is available under a Creative Commons Attribution-NonCommercial-ShareAlike license (CC BY-NC-SA), which means that you are free to copy, distribute, and modify it, as long as you credit the original author, don't use it for commercial purposes, and share any adaptations under the same license.

If you enjoyed the book and would like to support the author, you can purchase a printed copy (hardcover or paperback) from official retailers.

Download and Read Links

Share This Book

[localhost]# find . -name "*Similar_Books*"


Automate the Boring Stuff with Python, 3rd Edition

Python

If you've ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be. But what if you could have your computer do this work for you? In this fully revised third edition of Automate the Boring Stuff with Python, you'll learn how to use Python to write programs that do in minutes what would

Jenkins: The Definitive Guide

Jenkins

Streamline software development with Jenkins, the popular Java-based open source tool that has revolutionized the way teams think about Continuous Integration (CI). This complete guide shows you how to automate your build, integration, release, and deployment processes with Jenkins - and demonstrates how CI can save you time, money, and many headac

PHP: The Right Way

PHP

There's a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and insecure code. PHP: The Right Way is an easy-to-read, quick reference for PHP popular coding standards, links to authoritative tutorials around the Web and what the contributors consider to be best practices at the present time. There is

Digital Video Concepts, Methods, and Metrics

Digital Video Concepts, Methods, and Metrics: Quality, Compression, Performance, and Power Trade-off Analysis is a concise reference for professionals in a wide range of applications and vocations. It focuses on giving the reader mastery over the concepts, methods and metrics of digital video coding, so that readers have sufficient understanding to

Get Started with Arduino

Arduino

Whether you want to build robots, smart devices, or any other electronically controlled projects, this is the book you need. We take you through how to program and connect an Arduino microcontroller board, then explore some great projects to make with it. - Build a four-legged walking robot; - Create a Tetris-inspired clock; - Grow your own veg wit

Test-Driven Development with Python

Python Django JavaScript Selenium

By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass those tests. The re