Lua Programming: Complete Course [2020]
3.8 (46 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,770 students enrolled

Lua Programming: Complete Course [2020]

Master Lua Programming Language with Lua 5.3.
3.8 (46 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,770 students enrolled
Created by Abhishek Kumar
Last updated 4/2020
English
English [Auto-generated]
Current price: $129.99 Original price: $199.99 Discount: 35% off
57 minutes left at this price!
30-Day Money-Back Guarantee
This course includes
  • 8.5 hours on-demand video
  • 58 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Programming in Lua 5.3.
  • Solve problems using Lua.
  • Game development using Lua.
Requirements
  • Basic programming skills in any programming language.
Description

Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode with a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.

Topics covered in the course are:

  • Introduction to Lua

  • IDE and installation

  • Basic Language Constructs

  • Numbers

  • Strings

  • Tables

  • Functions

  • Input/Output

  • Blocks and Loops

  • Closures

  • Pattern Matching

  • Date and Time

  • Bitwise Operations

  • Data Structures in Lua - Arrays, Matrices, Linked Lists, Queues

  • Modules and Packages

  • Iterators and generic for

  • Metatables and Metamethods

  • Object Oriented Programming

  • The Environment

  • Garbage

  • Coroutines

  • C API

So, let's dive into the course

Who this course is for:
  • Software developers, students, machine learning engineers.
Course content
Expand all 59 lectures 08:29:12
+ Getting Started
7 lectures 39:48
Lexical Conventions
05:12
Comments
05:51
Global Variables
02:42
Types and Values
04:46
Nil
03:25
Booleans
09:31
+ Numbers
3 lectures 38:31
Operators - Arithmetic and Relational
12:20
Math Library
19:39
Quiz: Test your Number Skills
3 questions
+ Strings
4 lectures 35:37
Long Strings
05:39
Coercions
08:07
String Library functions
14:23
Quiz: Test you knowledge of Strings
2 questions
+ Tables
6 lectures 57:37
Table Indices
09:27
Table Constructors
10:03
Arrays, Lists and Sequences
08:36
Table Traversal
06:21
Table Library
14:14
Quiz: Tesk your Table Skills.
2 questions
+ Functions
4 lectures 38:02
Functions in Lua: Defining and calling functions
10:38
Multiple results
08:10
Variadic Functions
11:05
table.unpack function
08:09
+ Input/Output
3 lectures 23:11
I/O Library
04:10
Simple I/O model
10:12
Complete I/O model
08:49
Quiz: Test your IO Skills
2 questions
+ Control Structures
7 lectures 33:16
Control Structures in Lua
02:53
If Then Else
05:49
While loop
03:23
Repeat-until loop
03:16
Numerical For
04:59
Generic For
03:13
Break and Return statements
09:43
Quiz Test you Knowledge of Control Structures
3 questions
+ Closures
2 lectures 23:50
Functions as First Class Values
15:11
Closures and Lexical Scoping in Lua
08:39
Quiz: Test your understanding of Closures
2 questions
+ Pattern Matching
3 lectures 50:33
Pattern matching functions
10:56
Patterns
22:23
Position 4 queens in a 4x4 board such that no queen can attack any other. Any valid solution must have exactly one queen in each row and can be represented with a simple array of 4 numbers, one for each row. Each number tells at which column is the queen in that row.
Solving N-Queens puzzle in Lua.
1 question
Assignment 1 Solution - N Queens Puzzle
17:14