CS104: Minecraft Coding with Lua

View Schedule 8 on 1

$79 / 3 lessons

Ages 10+, 40 min/lesson, extendable up to 16 lessons

  • Coding & Tech
  • Hardware/Software/Books Required?

    You will need a PC or Mac computer as well as a headphone with a mic. Tablets not allowed. You will also need to purchase your own copy of Minecraft Java Edition at minecraft.net (under $30 one time fee). You can purchase it at Minecraft

Course Description

***As part of this course, you are required to purchase your own minecraft account (we will provide instructions once you enroll), which will be ~$30 one time fee. This will be your own life-time Minecraft account.***
 In this course, students will learn how to use the Lua programming language, alongside Minecraft components from the ComputerCraft package, to instruct robots (known as “turtles”) and virtual computers to perform tasks in the game. The projects that students complete in this course include a password protected door and a robot that builds an entire house! Since each program will drive concrete changes in the Minecraft world, students will clearly see the purpose of each new concept.

In this course, students explore fundamental programming concepts, then apply them to Minecraft. For students who may not be ready to write complex code, or who are more interested in designing Minecraft Redstone contraptions, please check out our Intro to Game Design with Minecraft course (CS103). Please note that there is no need to take CS103 before your child can take CS104.

The first class session will cover software installation, configuration, and introductions.

Project Concepts Taught
Digging a Box
Movement and digging with the Mining Turtle API
Using variables and for-loops to repeat instructions
Input and output text (“strings”)
Digging Stairs
Selecting and placing items from an inventory
Conditional statements (if-then)
Modulus operator (%)
Logical operators (and/or/not)
Password Protected Door
Redstone output of the Advanced Computer
Infinite loops
Cobblestone Collector
Block detection
String construction and concatenation
Defining functions
Lumberjack and Roomba
Using helper functions to break down complex tasks
Planning for variable runtime conditions (terrain) 
House Construction
Highly configurable code
Shorthand functions
Defining useful constants
Farming Turtle
Throwing and handling errors
Repeat-until loop


There is only ONE free make up lesson available. Please coordinate with instructors on scheduling.

You will need a PC or Mac computer with Webcam, high-speed internet, as well as a headphone with a mic. You will also need to purchase your own copy of Minecraft Java Edition at minecraft.net (under $30 one time fee). This course requires Mac or Windows OS. You can purchase it at https://minecraft.net/en-us/

Please contact us through email at admin@coding4youth.org, one of our counselors will assist you.

Our instructor team includes students and graduates of Bachelor’s and Master’s Degree in Computer Science or Computer Engineering from Accredited Institutions.