Coding with Minecraft: Build Taller, Farm Faster, Mine Deeper, and Automate the Boring Stuff - Paperback

Coding with Minecraft: Build Taller, Farm Faster, Mine Deeper, and Automate the Boring Stuff - Paperback

$29.95


by Al Sweigart (Author)

A hands-on introduction to coding that teaches you how to program bots to do cool things in the game you love--Minecraft! This book takes the robotic "turtle" method, and extends it to the 3D, interactive world of Minecraft.

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(R), 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.

Author Biography

Al Sweigart is a professional software developer who teaches programming to kids and adults. Sweigart has written several bestselling programming books for beginners, including Automate the Boring Stuff with Python, Invent Your Own Computer Games with Python, and Cracking Codes with Python (all from No Starch Press).

Number of Pages: 256
Dimensions: 0.9 x 9.1 x 7 IN
Illustrated: Yes
Publication Date: May 29, 2018
Shop Pay Continue Shopping

Estimated delivery: June 11 - June 14, 2026

Secure Checkout

Free Returns

Proudly USA Based

Accepted Payment Methods

American Express
Apple Pay
Diners Club
Discover
Google Pay
Mastercard
PayPal
Shop Pay
Visa