Learning Lua Step-By-Step (Part 14)

This entry is part 1 of 15 in the series Learning Lua Step-By-Step

Explore how to work with graphs and implement pathfinding algorithms in Lua. Learn about using graphs to model complex relationships and environments, and discover efficient algorithms like breadth-first search, depth-first search, Dijkstra’s algorithm, and A* pathfinding to find optimal paths.

Learning Lua Step-By-Step (Part 13)

This entry is part 13 of 15 in the series Learning Lua Step-By-Step

Explore two powerful tree-based data structures in Lua: a quadtree for sorting 3D objects by depth, and a trie for efficient word searching. Learn how these data structures work and how to implement them in your own Lua projects.

Learning Lua Step-By-Step: Part 12

This entry is part 12 of 15 in the series Learning Lua Step-By-Step

Explore the world of trees and graphs in Lua programming. Learn how to create, manage, and traverse binary trees and directed graphs, along with essential traversal methods like depth-first search (DFS) and breadth-first search (BFS).

Learning Lua Step-By-Step (Part 11)

This entry is part 1 of 15 in the series Learning Lua Step-By-Step

Learn about error handling in Lua programming, including the use of pcall, xpcall, and assert functions. Explore practical exercises and best practices for managing errors in Lua scripts.

Learning Lua Step-By-Step (Part 10)

This entry is part 11 of 15 in the series Learning Lua Step-By-Step

Learn how to implement single and double linked lists in Lua, along with search algorithms, through detailed examples and explanations.

Learning Lua Step-By-Step (Part 9): Exploring Metatables and Operator Overloading

This entry is part 10 of 15 in the series Learning Lua Step-By-Step

Welcome to the ninth installment of our “Learning Lua Step-By-Step” series! In this lesson, we’ll dive deep into the world of metatables in Lua. Metatables are a powerful feature that allow you to customize the behavior of Lua tables, enabling advanced techniques such as operator overloading, object-oriented programming, and more. We’ll explore what metatables are,

Learning Lua Step-By-Step (Part 8)

This entry is part 9 of 15 in the series Learning Lua Step-By-Step

Learn how to create your own Lua modules in this comprehensive guide. Explore encapsulation using closures, understand module loading, and master the art of modular programming in Lua.

Learning Lua Step-By-Step (Part 7)

This entry is part 8 of 15 in the series Learning Lua Step-By-Step

Learn Object-Oriented Programming in Lua with this comprehensive guide. Explore classes, inheritance, polymorphism, and more, with plenty of example code to solidify your understanding.

Learning Lua Step-By-Step (Part 6)

This entry is part 7 of 15 in the series Learning Lua Step-By-Step

Learn about the Lua os module and the Lua Posix module in this comprehensive guide. Explore file management, environment variables, time and dates, and more!

Learning Lua Step-By-Step (Part 5)

This entry is part 6 of 15 in the series Learning Lua Step-By-Step

In this lesson, we’ve explored the concept of Co-Routines in Lua, understanding their importance, usage, and benefits. We’ve seen how Co-Routines can be used to manage concurrent tasks efficiently and demonstrated their usage through example code. By mastering Co-Routines, you’ll be better equipped to write scalable and efficient Lua programs.