Whats the best way to learn LUA?

This page summarizes the projects mentioned and recommended in the original post on /r/gamedev

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Many people have a pet problem they deploy when learning a new language. For me, it is to write a Zork-like adventure game with a simple parser, rooms that you can move between, and objects you can pick up, drop, and examine, maybe with some support for words like "all", or "everything", or "it" to refer to the last object mentioned. Like this thing I made when I was first messing around with Lua Later, I made a much more complicated thing which is a kind of interactive fiction library in Lua used by a mission script for my space game.

  • space-nerds-in-space

    Multi-player spaceship bridge simulator. Captain your starship through adventures with your friends. See https://smcameron.github.io/space-nerds-in-space

  • Many people have a pet problem they deploy when learning a new language. For me, it is to write a Zork-like adventure game with a simple parser, rooms that you can move between, and objects you can pick up, drop, and examine, maybe with some support for words like "all", or "everything", or "it" to refer to the last object mentioned. Like this thing I made when I was first messing around with Lua Later, I made a much more complicated thing which is a kind of interactive fiction library in Lua used by a mission script for my space game.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • smcamerons-python-adventure

    This is just me screwing around learning python

  • The point though is to start with a very simple, well known, text only type of game, like interactive fiction or a "text adventure", or whatever they call Zork like games nowadays, which in its simplest incarnation is (or at least can be) pretty simple (i.e, mine is about 400 lines of Lua), but can be made arbitrarily more complex by adding new types of objects, object interactions, verbs, and sentence syntax that it can understand. It will give you a good feel for how to organize a Lua program, how to deal with data structures ("tables" in Lua), etc. It's simple enough, and being text only, you don't get caught up in details of the problem that don't actually have much to do with the language itself, but complex enough that you have to think a bit. I find it a good problem for new languages (I did the same thing when learning python.)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Space Nerds in Space

    1 project | news.ycombinator.com | 17 Oct 2023
  • Real-Time Collision Detection by Christer Ericson; What's on the CD?

    1 project | /r/GraphicsProgramming | 15 Sep 2023
  • What advantage is there of mixing a scripting language with C?

    1 project | /r/C_Programming | 25 Jan 2023
  • A game server in C

    1 project | /r/C_Programming | 7 Jan 2023
  • How Much to Build a Bridge Set?

    1 project | /r/SNIS | 11 Aug 2022