- [MC] Fun with Turtles and such in Lua!
- 20 Jul 2015 12:22:36 am
- Last edited by AHelper on 27 Jul 2015 10:50:21 pm; edited 1 time in total
Now on GitHub!
So, I have for a while made Lua programs and such for computers and turtles in the mod ComputerCraft in Minecraft for a while. First starting out with a private server with a bunch of friends as building automation and mining, I made an A* library (2D, obstacle avoidance and world learning) to navigate buildings and such easily, even did some small autonomous systems. I still have that pathing script somewhere, but that was a bit ago.
Recent, I picked up MC again and went back to this. Why? Because a small system with small programs can be fun and challenging!
I have started on a project to add some AI control over a bale of turtles. The plan is to make a GOAP AI (Goal oriented/Action Planning) that will be tasked with some goal(s) and will control a community of turtles and such (I have wanted to make something like this ever since I was writing an AI for AoEII way back in the day).
Since there are limitations for memory, code/storage size, etc. for CC, the work is split between Lua in MC and a Python daemon providing a REST API. This should take load off of the server as well as make sure the entire scope is considered in each action taken. I'll provide more info later once I have something that functions (bitbucket, public-facing server, probably a second MC server next to the Retro MC server (Yes, that is still running!), API documentation).
Another project if I got really bored was to make a network infrastructure. Link-layer up to application-layer. From scratch. Why not? But that's for a later time! Or for someone else...
Thought I'd share considering the MC & coding community here.
So, I have for a while made Lua programs and such for computers and turtles in the mod ComputerCraft in Minecraft for a while. First starting out with a private server with a bunch of friends as building automation and mining, I made an A* library (2D, obstacle avoidance and world learning) to navigate buildings and such easily, even did some small autonomous systems. I still have that pathing script somewhere, but that was a bit ago.
Recent, I picked up MC again and went back to this. Why? Because a small system with small programs can be fun and challenging!
I have started on a project to add some AI control over a bale of turtles. The plan is to make a GOAP AI (Goal oriented/Action Planning) that will be tasked with some goal(s) and will control a community of turtles and such (I have wanted to make something like this ever since I was writing an AI for AoEII way back in the day).
Since there are limitations for memory, code/storage size, etc. for CC, the work is split between Lua in MC and a Python daemon providing a REST API. This should take load off of the server as well as make sure the entire scope is considered in each action taken. I'll provide more info later once I have something that functions (bitbucket, public-facing server, probably a second MC server next to the Retro MC server (Yes, that is still running!), API documentation).
Another project if I got really bored was to make a network infrastructure. Link-layer up to application-layer. From scratch. Why not? But that's for a later time! Or for someone else...
Thought I'd share considering the MC & coding community here.