Posted 30 January 2013 - 01:14 PM
I had a vision of turtles working autonomously together to build a structure, and thought "Surely, someone has already done this." so I headed to the Programs section of these forums and have not really found anything like this so I turn here for help (and maybe a bit of an idea pitch, as it turns out…).
I imagine a system where a "Master" (this could be a computer/another turtle/etc… the 'what' is irrelevant; let's call this the "Manager") can accept a blueprint for a structure and command and control X number of turtles (let's call them "Workers") to guide the construction of the blueprint. At it's simplest form, I imagine the blueprint to be a simple three-dimensional array where the array co-ordinates would map relatively to MC World co-ordinates and the array value would contain what blockID to be placed at it's co-ordinate.
Once a Manager had been given a blueprint and a relative starting point for the construction, it would figure out how many nearby Worker turtles it had "in it's team" and begin breaking down the larger blueprint into smaller pieces (eg. 32 block strips) and issue one piece at a time to each Worker for construction. Upon receiving their orders, Workers would collect the required inventory from either a static inventory location or a Logistics Pipes Request Pipe location provided by the Manager, move to the appropriate location, and proceed to execute the build orders. Once completed, the Worker would notify the Manager of it's completion and receive the next work order until the whole project was finished.
How fast or slow a project was built would be entirely dependent on how many Worker turtles the user provides to the "construction team" and resource availability.
If this exists, please let me know where I can find it (and possibly ignore the rest of this post).
If this hasn't been built, is there any interest amongst the community to see a project like this?
If so, I can contribute to the design and coding, and although I've been programming off-and-on for over 20 years, I've only been working in Lua and CC for just under two weeks. Though I'm definitely not the best coder out there, I'm definitely not the worst either. I'm piecing the last bits of GUI code on a "Logistics Pipes Inventory Dashboard" app I spun together out-of-need in my SSP world and once I've finished, I'll upload it to the Programs section and I'm sure you'll quickly gauge where my skills are at (whatever you think of them! =) )
I can't do it alone, though; the scale is simply too large when I have a job/family/etc to tend to, as well. Would anyone else around here be interested in working on a project like this?
If you're still reading up till this point, here are a couple of "idea extensions" I've thought of:
I imagine a system where a "Master" (this could be a computer/another turtle/etc… the 'what' is irrelevant; let's call this the "Manager") can accept a blueprint for a structure and command and control X number of turtles (let's call them "Workers") to guide the construction of the blueprint. At it's simplest form, I imagine the blueprint to be a simple three-dimensional array where the array co-ordinates would map relatively to MC World co-ordinates and the array value would contain what blockID to be placed at it's co-ordinate.
Once a Manager had been given a blueprint and a relative starting point for the construction, it would figure out how many nearby Worker turtles it had "in it's team" and begin breaking down the larger blueprint into smaller pieces (eg. 32 block strips) and issue one piece at a time to each Worker for construction. Upon receiving their orders, Workers would collect the required inventory from either a static inventory location or a Logistics Pipes Request Pipe location provided by the Manager, move to the appropriate location, and proceed to execute the build orders. Once completed, the Worker would notify the Manager of it's completion and receive the next work order until the whole project was finished.
How fast or slow a project was built would be entirely dependent on how many Worker turtles the user provides to the "construction team" and resource availability.
If this exists, please let me know where I can find it (and possibly ignore the rest of this post).
If this hasn't been built, is there any interest amongst the community to see a project like this?
If so, I can contribute to the design and coding, and although I've been programming off-and-on for over 20 years, I've only been working in Lua and CC for just under two weeks. Though I'm definitely not the best coder out there, I'm definitely not the worst either. I'm piecing the last bits of GUI code on a "Logistics Pipes Inventory Dashboard" app I spun together out-of-need in my SSP world and once I've finished, I'll upload it to the Programs section and I'm sure you'll quickly gauge where my skills are at (whatever you think of them! =) )
I can't do it alone, though; the scale is simply too large when I have a job/family/etc to tend to, as well. Would anyone else around here be interested in working on a project like this?
If you're still reading up till this point, here are a couple of "idea extensions" I've thought of:
- Blueprint Creation: hrm… not exactly sure about this one yet… any ideas? (for development, I was likely going to hand-code a sample array and serialize it to a file for loading as the blueprint)
- Blueprint Acquisition: if we can get past the creation part, what if one of those "AppStore" ideas was implemented within the Manager app, except it would be a "BlueprintStore" where users could access a catalog of existing blueprints to download/build.