Discover the power and flexibility of loops in Lua as you learn to automate repetitive tasks. This course covers for loops (numeric and generic) and while loops, and introduces advanced concepts like loop controls and nested loops. By the end of this course, you'll be able to use loops to enhance the efficiency and complexity of your code.
Overview
Syllabus
- Unit 1: Numeric For Loops
- Change the Loop Range
- Find and Fix the Loop Bug
- Change the Countdown Starting Point
- Complete the City Tour Loop
- Write Your Own Numeric For Loops
- Unit 2: Iterating Over Tables
- Numbered List Printing Challenge
- Find and Fix the Loop Bug
- Looping Through a Food List
- Loop Through and Print Destinations
- Unit 3: Controlling Loops with Break
- Control When Your Loop Stops
- Find and Fix the Loop Bug
- Stop the Loop When Needed
- Stop the Search When Needed
- Unit 4: Understanding While Loops
- Adjusting Loop Conditions for Packing
- Complete the While Loop Logic
- Stop the While Loop Early
- Build Your Own Trip Planner
- Unit 5: Nested Loops in Lua
- Switching Loop Functions in Nested Loops
- Fix the Nested Loop Bug
- Complete the Nested Loop Structure
- Build Nested Loops from Scratch
- Unit 6: Simple Algorithms with Loops
- Find and Fix the Loop Bug
- Complete the Trip Cost Loop
- Calculate Trip Totals with Loops
Reviews
5.0 rating, based on 1 Class Central review
Showing Class Central Sort
-
This course will help users to learn for loops and while loops quite efficiently. I'd personally recommend you practice more before trying out the module. It is little bit spicy for beginners.