Posts

Maze solver using Turtle

Step 1: Open the ComputerCraft ComputerFirst, you’ll need to open the CC computer in the game. Right-click on the computer to access its gui. Step 2: Create a New ProgramIn the computer’s interface, type edit maze_solver and press Enter. This…

Automated Turtle Strip Mining Program

In this tutorial, you will learn how to recreate a Lua program that controls a Minecraft turtle for automated strip mining. The program takes inputs for the mining area size and length, calculates fuel requirements, and performs the mining operation…

Simple Tunneling Program

The objective of our program is to make the turtle dig a tunnel of a specified length (passed as a command-line argument) and then return to the starting position. We will use a refueling function to ensure the turtle has…