My Account Log in

1 option

Coding with Minecraft : build taller, farm faster, mine deeper, and automate stuff / Al Sweigart.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Sweigart, Al, author.
Language:
English
Subjects (All):
Minecraft (Game).
Lua (Computer program language).
Computer programming.
Physical Description:
1 online resource (1 volume) : illustrations
Edition:
1st edition
Place of Publication:
San Francisco : No Starch Press, [2018]
System Details:
text file
Summary:
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. Requires: Windows 7 or later; macOS 10.10 or later.
Contents:
Installing Minecraft and Computercraft
Lua programming basics
Talking to your turtle
Programming turtles to dance
Making a better dancer
Programming a robolumberjack
Creating modules to reuse your code
Running an automated tree farm
Building a cobblestone generator
Making a stone brick factory
Constructing walls
Room-constructing robots
Floor-constructing robots
Programming farm bots
Programming a staircase miner.
Notes:
Includes indexes.
Description based on print version record.
Description based on publisher supplied metadata and other sources.
Other Format:
Print version: Sweigart, Al, author. Coding with Minecraft
ISBN:
9781492067603
1492067601
9781593278540
1593278543
9781593278533
1593278535
OCLC:
1041858445

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account