Expand your programming knowledge by exploring the primary data structure in Lua: the table. This course introduces you to tables used as lists (arrays) and as dictionaries (maps), teaching you how to create, access, and manipulate them effectively. Through practical examples, you'll learn the versatility of tables and how to use them in your programs.
Overview
Syllabus
- Unit 1: Introduction to Lua Tables
- Change the Table Values
- Find and Fix the Table Bug
- Accessing a Different Table Item
- Accessing Items in a Lua Table
- Build Your Own Travel List
- Unit 2: Manipulating Lua Tables
- Change the Order Change the List
- Find and Fix the Table Bug
- Add New Stops to Your List
- Master Table Changes from Scratch
- Unit 3: Tables as Dictionaries
- Change Table Data with Keys
- Fix the Table Key Value Bug
- Add a New Pair to Table
- Build and Update a Landmarks Table
- Unit 4: Nested Tables in Lua
- Update Nested Table Values
- Fix the Nested Table Bugs
- Add a New Landmark Entry
- Nested Table Mastery Challenge