Welcome to our beginner-friendly Lua course! This course is crafted to help you dive into the world of Lua programming, starting with the basics and gradually building your skills. With engaging lessons, practical projects, and interactive challenges, you'll gain confidence and have fun along the way. Whether you're diving into Lua for the first time or expanding your coding skills, this course is crafted to make your learning journey smooth, engaging, and hands-on. Let's get started on your path to becoming a Lua coder!
Language: Lua
Duration: 4 days
Difficulty: easy
Category: Programming
Certificate: Yes
Welcome to Lua
What is Lua?
Basic syntax overview
Coding Challenge 1
Introduction to Tables: Arrays and Dictionaries
Inserting, Updating, and Removing Elements
Iterating Through Tables
Coding Challenge 5
Variables in Lua
Data types: Numbers, Strings, Booleans, Tables, Functions, and nil
Basic arithmetic and string operations
Coding Challenge 2
Error Handling with pcall and xpcall
Understanding and Using assert
Debugging Techniques
Conditional statements: if, else, elseif
Loops: while, repeat-until, for
Breaking out of loops
Coding Challenge 3
String Manipulation Functions
Pattern Matching and Regular Expressions in Lua
Formatting Strings in Lua
Coding Challenge 6
Defining and Calling Functions
Function Arguments and Return Values
Scope of Variables (Local vs Global)
Coding Challenge 4
What Are Coroutines?
Creating and Controlling Coroutines
Practical Use Cases of Coroutines in Lua
Coding Challenge 7