This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ndiniz's profile picture

Any programs for CC that can teach me lua?

Started by ndiniz, 05 July 2018 - 03:05 PM
ndiniz #1
Posted 05 July 2018 - 05:05 PM
I'm looking for a program or utility for ComputerCraft that will allow me to learn lua. I don't know if there's any apps or programs I can download for CC that would enable me to learn Lua, but if there is, please feel free to post it here. Any help on this subject will be greatly appreciated.
Bomb Bloke #2
Posted 06 July 2018 - 03:10 AM
It'd be easier to make suggestions if you provided some more information about your prior coding experience, be it in Lua or in any other languages. Do you have any at all?
Edited on 06 July 2018 - 01:11 AM
ndiniz #3
Posted 06 July 2018 - 01:12 PM
unfortunately no. I have no programming knowledge at all.
Bomb Bloke #4
Posted 07 July 2018 - 08:28 AM
In that case, start out with Lyqyd's Computer Basics series, and then use the Lua prompt to start working your way through this directory. You'll only really need to review the first ten or so in order to get the basics down.

After that, think up a program, and write it out. You'll want something simple - text-based games are great, especially something like Nim or "Guess a number between 1 and 100". You'll find this list of ComputerCraft-specific APIs handy once you get underway.
Exerro #5
Posted 10 July 2018 - 12:09 AM
I've been designing something like this for a while. Never got round to actually starting the code sadly :/
Online tutorials are pretty good though, and Ask a Pro is good at answering questions.
I'd suggest finding a YouTube series at first so you can follow along visually.