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

Artifical Inteligence

Started by Trackspeeder, 02 September 2014 - 09:35 PM
Trackspeeder #1
Posted 02 September 2014 - 11:35 PM
Does anyone know how an AI is programed in Lua and could it be put into a computer or pocket computer in CC.

I have always been wondering this and searching Lua AI for ages but it all requires seperate programs and all I want is a way to input text and it to
answer like cleverbot or Evie.

Anyone else given this a thought?
Could it be of real use or just fun to use in MC?
Writer #2
Posted 03 September 2014 - 01:45 AM
First, if you're trying to do a thing like cleverbot, then you should get a pick at it's code, to see how it works. Then, you should "translate" it to LUA, or any other languages. Therefor, you don't need to melt your brain too much.
And yes, it could have some uses. For example, you can have some variables that control whatever you want in your systems (if you're working with a modpack or other mods) and do whatever you want with it. For example, you can make a variable that controls a determinate peripheral, or emits a redstone signal. In sintesi, you could make it just for fun, but you could definitely make it have a live and function in it.
Bomb Bloke #3
Posted 03 September 2014 - 02:16 AM
If I were going to do something like this, I guess I'd cheat by piping what the user types to an already-existing web-based "AI", then grab the response and display that back in MineCraft. Couple it with a ChatBox and I'm sure there'd be some fun to be had.
TheOddByte #4
Posted 04 September 2014 - 01:56 PM
There was GravityScores CCleverbot, but unfortunately it doesn't work anymore( I believe )
And someone may correct me if I'm wrong, but I believe GravityScore used some custom PHP script to communicate with the CC-computer and some web-based AI
It was something in that direction :P/>

To confirm that it doesn't work, here's what GS posted
The server where the PHP script for this was being hosted was taken down yesterday, so this and Thunderhawk will no longer work. I'm too disinterested in CC and Minecraft to bother rectifying this, so it'll likely stay not working - sorry.
Edited on 04 September 2014 - 11:58 AM