YOUR LUA LEARNING PATH
A little more Lua.
A little more confidence.
One idea at a time, with examples you can follow and checkpoints to see what’s clicking. New here? Begin with chapter one. Know a little already? Jump right in.
Before you start
Start with values and truth, then scope and functions. Lua-specific rules such as one-based sequence indexes are introduced in the lessons.
Review a foundation whenever you need it: First Python program · Decisions and loops · Small functions
Your chapters
Choose any starting point- 01Open chapter: Values, types, and truth
Values, types, and truth
BeginnerReason about Lua values without borrowing another language’s truth rules.
Start here, or skip ahead - 02Open chapter: Lexical scope and accidental globals
Keep bindings local and distinguish shadowing from assignment.
Open whenever you’re ready - 03Open chapter: Functions, locals, and return values
Package calculations while making scope and results explicit.
Open whenever you’re ready - 04Open chapter: Multiple results and exact argument packs
Multiple results and exact argument packs
IntermediatePreserve nil values and understand result adjustment.
Open whenever you’re ready - 05Open chapter: Tables and sequences
Tables and sequences
IntermediateUse one flexible data structure with clear key and sequence rules.
Open whenever you’re ready - 06Open chapter: Iteration and string processing
Iteration and string processing
IntermediateChoose iteration rules that match sequences, maps, and text.
Open whenever you’re ready - 07Open chapter: Captures and literal-safe substitutions
Captures and literal-safe substitutions
IntermediateUse Lua patterns without importing regular-expression assumptions.
Open whenever you’re ready - 08Open chapter: Bytes, code points, and text boundaries
Bytes, code points, and text boundaries
IntermediateChoose the unit of text an operation actually needs.
Open whenever you’re ready - 09Open chapter: Closures and module boundaries
Closures and module boundaries
AdvancedPreserve private working state through lexical scope.
Open whenever you’re ready - 10Open chapter: Custom iterators and termination contracts
Expose a traversal without exposing its storage representation.
Open whenever you’re ready - 11Open chapter: Metatables and protected calls
Metatables and protected calls
AdvancedAdd object-like behavior and handle expected failures deliberately.
Open whenever you’re ready - 12Open chapter: Intercepting writes and raw operations
Understand when metatable hooks do and do not run.
Open whenever you’re ready - 13Open chapter: Coroutine suspension and result channels
Trace cooperative control transfer explicitly.
Open whenever you’re ready
PUT IT TOGETHER
Final assessment & certificate
30 multiple-choice questions and 2 written coding problems. Pass the knowledge section at 80% overall and at least 50% in every chapter area, complete and review the written practice, and meet the attempt-integrity checks to unlock your certificate.
The certificate records a CodeQuest foundations assessment. Written work is self-reviewed; identity and independent proficiency are not verified.
Take an issuer-recorded assessment with a verifiable certificate
Continue the original guided missions