Sweigart, Al Coding With Minecraft (1593278535)
Using ComputerCraft, a free Minecraft mod, and the Lua programming language (used by professional game developers), you'll write programs to make your bots dig mines, chop wood, craft items, and build anything you can imagine. Sit back, relax, and make your turtle army do the work! The book provides the full code needed to write each program and walks you through it line by line, explaining how things work along the way. By book's end, you ll have a handle on computer science basics, a taste of how fun and powerful coding can be, and plenty of turtle robots at your command.