© Coding4Youth.org. All rights reserved.
CS104: Minecraft Coding with Lua
***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.
|Digging a Box||
Movement and digging with the Mining Turtle API Using variables and for-loops to repeat instructions Input and output text (“strings”)
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
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)
Highly configurable code Shorthand functions Defining useful constants
Throwing and handling errors Repeat-until loop
- The basics of Minecraft
- Programming fundamentals like:
- Loops (allow repetitive tasks to be coded efficiently)
- Variables (keep track of important data)
- Conditionals (control which instructions are performed, based on true/false statements)
- Logical operators (build complex true/false statements)
- Functions (define a configurable and reusable set of instructions)
- Managing the input and output of a program
- Problem solving and debugging skills
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 email@example.com, 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.