3 ms·
Computercraft mod gives you LUA programmed turtles with impressive levels of programability. Its fairly bare metal. Its not like you're running "mine.tunnel" a
by VLM 11y ago
Computercraft mod gives you LUA programmed turtles with impressive levels of programability.
Its fairly bare metal. Its not like you're running "mine.tunnel" and it does all the work for you, you have to program every little detail of movement or activity. Its not like LUA or LUA inspired, it is LUA so you get functions and real control flow.
I find it mildly amusing to program for my mining turtle to dig a large transport tunnel for me and line it with torch on the wall every X blocks and double tracked rails along the bottom and collect the goodies for me. This is not exactly the pinnacle of software development, but it is fun, which is all that counts.
Its also fun to emulate quarries and deep mining operations with programmed turtles. They come in handy for weird automations also.
My son watched the now ancient direwolf20 youtube mod spotlight on computercraft but had no motivation to run it himself. He's more an arduino kid, which is OK I guess.
(just to save time, insert here "LUA is not a real programming language", and insert here "I don't care its more of a programming language than watching youtube unboxing videos")
Computercraft is not unique, its just the oldest and most widespread of its genre. Personally I'd like a LISP in minecraft. Hoist out the guts of computercraft and toss in a nice jvm lisp like clojure ... in my infinite spare time... Assuming someone else hasn't already...
Minetest might be cooler sooner than you think. Its hard to speak for the community, but most see it as only a matter of time before MS kills minecraft modding a monetization scheme or abandonment of the java platform or who knows, at which point the mod authors and players will be salivating for something like minetest. The problem with minetest is nobody mods it so you can't program a turtle in LUA on minetest, only minecraft.
- infinite8s 11y agoLogo would make an excellent programming language for Minecraft (adapted to add a few extra base commands for digging - laying down a block would be equivalent to pen down). I wonder if anybody has tried to integrate the two of them!
- DanBC 11y agoThat would be great. Here's a "graphics turtle": http://www.stuffaboutcode.com/2014/07/minecraft-fractal-trees.html http://www.stuffaboutcode.com/2014/07/minecraft-fractal-tree... Here's Rust and LLVM in Minecraft command blocks: https://www.reddit.com/r/Minecraft/comments/37dkg4/sbbm_scripting_in_vanilla_minecraft_with_rust_and/ https://www.reddit.com/r/Minecraft/comments/37dkg4/sbbm_scri... Here's someone hacking gnuplots into Minecraft worlds: https://metaphysicaldeveloper.wordpress.com/2011/07/31/hacking-a-gnuplot-into-minecraft/ https://metaphysicaldeveloper.wordpress.com/2011/07/31/hacki...
- ATsch 11y agothis is off-topic, but: > What's in a name? > "Lua" (pronounced LOO-ah) means "Moon" in Portuguese. As such, it is neither an acronym nor an abbreviation, but a noun. More specifically, "Lua" is a name, the name of the Earth's moon and the name of the language. Like most names, it should be written in lower case with an initial capital, that is, "Lua". Please do not write it as "LUA", which is both ugly and confusing, because then it becomes an acronym with different meanings for different people. So, please, write "Lua" right! http://www.lua.org/about.html http://www.lua.org/about.html
- zeveb 11y agoComputerCraft is amazing, and OpenComputers even more so (although by default OC's computers require power, which is a bit of a drag). I've been spending the past couple of years writing an operating system to run in a computer inside a game I play on my computer … I need a life:-)
- asiekierka 11y ago>The problem with minetest is nobody mods it so you can't program a turtle in LUA on minetest, only minecraft. Minetest has quite a lot of mods, admittedly - I even made a few. The problem with Minetest is that it has too many modders and not enough players. The problem with Minetest is that the voxel engine zone itself is fragmented: Minetest itself has three different maintained versions, and there's other clones like Terasology as well. The problem with Minetest is that the APIs are and will probably remain too limited for the most complex things, seeing as it's not the kind of modding where you turn the engine inside out for fun and it happens to work with most mods for some reason - and, even then, there's far too few developers on Minetest's core engine and far too many opened/unmaintained pull requests.