Posted 13 September 2013 - 11:44 AM
Tinyboss's Speedcobbling Contest
This is a contest to see who can use turtle(s) to generate cobblestone the fastest. Your turtle(s) must get some raw materials (of your choice, subject to limitations) from a chest, build whatever structure is needed, generate and mine the cobble, and finally deposit it into the chest.
Rules:
- Your mining turtle begins with an empty inventory, on the ground of a standard superflat world (grass, dirt, dirt, bedrock), facing a single chest.
- The chest may initially contain any amount of the following items: water bucket, lava bucket, empty bucket,
stone(no longer allowed, because duh), sand, gravel, dirt, glass, wood, coal. If there are other basic blocks that people think they can make good use of, I'll consider adding them to the list, but redstone stuff is definitely not in the spirit of this contest. - Fuel use is enabled. Include enough fuel in your chest loadout for your turtle to finish its job.
- The very first line of your program must save the current value of os.clock(), and the very last line must report the elapsed time (current time minus start time).
- When your program reports its elapsed time, the chest must contain the required number of full stacks of cobblestone, and nothing else.
- You can enter as many programs as you like. Each entry should be a post to this thread containing a name for the program, the division it's competing in, the initial contents of the chest (in order, left-to-right, top-to-bottom), the time it takes to finish, and a link to its source on Pastebin. Yes, you report your own time, but of course anyone is free to run your code themselves to check up on you.
- Taking someone else's program and tweaking it to improve the time is fair game, but you must clearly state whose program you're improving on (ideally by quoting or linking to their post in this thread). If you modify someone else's code without crediting them, you'll be disqualified.
World setup:
Develop your program with whatever mods you like, but it must be able to achieve its reported time under the following conditions:
- Creative mode, peaceful difficulty, standard superflat terrain (grass, dirt, dirt, bedrock).
- Minecraft version 1.62, with no mods except ComputerCraft 1.56.
Divisions:
Single stack - Fastest time to craft a single 64-block stack of cobble. This will favor a simple farm that doesn't take too long to get up and running.
Twelve stack - More of a long haul. An elaborate farm that takes longer to set up, but enables more efficient generation, can be worthwhile here.
Swarm - Fill up the chest (27 stacks), using as many wireless mining turtles as you like. This is for advanced programmers, and the following additional rules will apply (I'm very willing to revise the details if the advanced folks feel like it could be more fair and or interesting):
- Your overall time will be the actual elapsed time, multiplied by the number of turtles you use.
- Turtle 1 starts out facing the chest, with Turtle 2 immediately to its right, facing the same direction, Turtle 3 to the right of Turtle 2, and so forth.
- Every turtle must use the same program. The turtle's number will be given as a command-line argument.
- Turtle 1's program will be the one whose time is counted. The other turtles will be started first, but they must receive a signal from Turtle 1 before taking any action whatsoever (no movement, no inventory management, no computations, nothing at all).
Here's the starting position for the Swarm division:
Good luck and happy cobbling!
Standings:
Single stack
- 107.0, Tinyboss, Back-n-forth
Twelve stack
(no entries yet)
Swarm
(no entries yet)
Hall of Sneakiness
- MudkipTheEpic - single stack in 51.7, demonstrated why I was dumb for including stone as an approved starting material.