Tutorial
Step 5 of 5
Step 5: Improve your robot program
Programming is the deepest way to improve a robot. Open the edit code page to view the program linked to your robot.
The program loops until the battery is empty or the mining session ends.
A common first fix is repeated mining: replace mine(); with while (mine());
so the robot clears ore from the current tile instead of skipping leftovers.
Click Save program after editing. If the robot is busy, open the robots page and click Apply changes to queue the update.
After a run finishes, replay it from mining results to compare the new behavior. For more examples, continue to the programming tips guide.