Self Replicating Turtles in Minecraft ComputerCraft!

Поделиться
HTML-код
  • Опубликовано: 17 июн 2024
  • Minecraft robots are now able to reproduce on their own! Witness the future conquerors of the overworld, machines one criterion closer to being alive!
    This is one in a series of projects I'm attempting, all with the theme of bringing turtles to life, and making them the gentle, autonomous creatures they were always meant to be.
    -CODE-
    Code: pastebin.com/YtvRxY9j
    What to type in your mining-crafty turtle (without quotes): "pastebin get YtvRxY9j turtlogenesis"
    -TUTORING-
    I teach now! I do 1-on-1, remote tutoring lessons where you can learn to code using ComputerCraft. It's a super fun way to learn, and we make some neat stuff along the way. My site is merlintutoring.com, hit me up!
    -TIMESTAMPS-
    0:00 Intro
    1:05 Setup
    2:24 Subterranean search
    6:57 Superterranean search
    8:06 Nest building
    10:06 Crafting items
    12:16 Turtlogenesis
    "But the machines which reproduce machinery do not reproduce machines after their own kind. A thimble [turtle] may be made by machinery, but it was not made by, neither will it ever make, a [turtle]" - The Book of the Machines, Samuel Butler, 1872
  • ИгрыИгры

Комментарии • 307

  • @WizardNamedMerlin
    @WizardNamedMerlin  Год назад +62

    Hey, thanks for watching! Sorry for the wait :)
    If you want to learn how to do this stuff yourself, contact me about private tutoring lessons at merlintutoring.com

    • @coffee_tvcoffee7654
      @coffee_tvcoffee7654 9 месяцев назад +4

      You're doing brilliant things! It's a pity that the site is not working anymore, and there is almost no activity on the channel anymore... Bro, you're doing great stuff.

    • @neves5083
      @neves5083 4 месяца назад

      Hey do you still do this computer craft tutoring? I have an turtle project that may be interesting to discuss

    • @Humaricslastcall
      @Humaricslastcall 3 месяца назад +1

      I wonder... could you do Robologenesis for Opencomupter's robots?

    • @weylinwest9505
      @weylinwest9505 3 месяца назад +2

      I would've loved to see a timelapse of exponential turtle expansion! Shame it seems your gone from your channel.

    • @TheAetherial
      @TheAetherial 3 месяца назад +2

      Website is down now, sadly

  • @whistler_
    @whistler_ Год назад +1030

    I can't help but keep thinking what could happen if you organized them like an ant hive. First one is hive queen and sets up the others, creating a dedicated sugarcane farmer, charcoal farmer and miners. Once it gathers enough resources, it makes a new queen that sets off to distant lands and starts anew 😄

    • @redmoosekiller
      @redmoosekiller Год назад +52

      This is sick

    • @UnknownGamer40464
      @UnknownGamer40464 Год назад +83

      SkynetCraft

    • @billy818
      @billy818 7 месяцев назад +29

      I'm going to do this now, cool idea

    • @bldshrerwok7121
      @bldshrerwok7121 6 месяцев назад +18

      ​@@UnknownGamer40464RTSCraft

    • @matem817
      @matem817 4 месяца назад +43

      i was thinking abaut a turtle hunter that has the goal of "deactivating" all the turtle, serching for dropped items and following all the tunnels that they make XD

  • @Kalightortaio
    @Kalightortaio 3 месяца назад +335

    It would be cool if you added code for the following:
    If it encounters a dead turtle, it deposits some fuel to bring it back to life.
    When collecting logs, it plants any saplings it may find.
    The option to make charcoal if it's near death and can't find coal in time.

    • @Zero-4793
      @Zero-4793 3 месяца назад +29

      on that note, anytime it sees coal or other fuel source it should take it. like near the end of vid the final 2 go right past some coal and ignore it

    • @emilianozamora399
      @emilianozamora399 3 месяца назад +23

      The odds of one encountering another dead turtle is like next to 0

    • @oblivion_2852
      @oblivion_2852 3 месяца назад +4

      ​@@Zero-4793wouldn't an easy option just be to have the turtle craft a bucket? Or can't turtles use buckets on lava?

    • @seventhspud
      @seventhspud 3 месяца назад +3

      @@oblivion_2852i see where the idea comes from, but really the relative scarcity of lava source blocks compared to coal’s abundance makes it harder to obtain fuel. keep in mind, i believe the turtle has a total sight of three blocks combined, so i wouldn’t count on it to be too intelligent!

    • @Kalightortaio
      @Kalightortaio 3 месяца назад

      @@emilianozamora399 But given deep time, it's very possible.

  • @kuhluhOG
    @kuhluhOG Год назад +262

    If they could ALSO have chunk loaders, this could be extremely funny.
    Just imagine if you decide to fly away for 3000 block, start 4 there (to make sure the actually survive) and at some point the make their way back to spawn but in the hundreds.

    • @kajetus0688
      @kajetus0688 3 месяца назад +9

      lag

    • @hisamiyomotsu1337
      @hisamiyomotsu1337 3 месяца назад

      ​@@kajetus0688shouldn't be too bad, i think

    • @mikeyfreeman5776
      @mikeyfreeman5776 3 месяца назад

      @@hisamiyomotsu1337depends on how fast they reproduce but surely there would be lag at some point.

  • @Zahlenteufel1
    @Zahlenteufel1 3 месяца назад +68

    I'd really love to watch the exponential growth in a big ol' timelapse.

  • @kuhascoat3417
    @kuhascoat3417 3 месяца назад +73

    Congratulations! You have made a VonNeumann probe.

    • @panikking6012
      @panikking6012 3 месяца назад +2

      Can you explain this to me? It sounds funny i just don't know enough.

    • @johnpayne5590
      @johnpayne5590 3 месяца назад +10

      ​@@panikking6012 A vonneumann probe is a spacecraft capable of self replication, generally in media it's things like the replicators from stargate, basically if you can send it somewhere and have it replicate endlessly it's a von-Neumann probe

  • @angelomatulac3764
    @angelomatulac3764 Год назад +80

    You can make the sugarcane process a bit faster by making the turtle place down the collected sugarcane until its placed down 4 and then have it pick all of it back up

    • @WizardNamedMerlin
      @WizardNamedMerlin  Год назад +69

      Genius! Totally didn't think of that, that's a great idea. I think you'd have one on each side of the turtle and then have the turtle spin forever checking if any had grown. Turning doesn't use fuel so it can just keep turning indefinitely. Ideas for v2.0!

  • @KenevyUnholyJesus
    @KenevyUnholyJesus Год назад +167

    Loved the video, honestly I felt like I was watching a Discovery Channel documentary about wild life. I'd never seen a CCTurtle giving birth before.

  • @compi3882
    @compi3882 4 месяца назад +33

    I've dreamed of building self replicating turtles -I'm glad to see others more dedicated than I am have made it a reality

  • @QuoBoat
    @QuoBoat 3 месяца назад +106

    Bro really looked at a turtle and said "AY, Go craft yaself"

    • @ptiger3677
      @ptiger3677 3 месяца назад +1

      And it bloody did

  • @ianpyles1877
    @ianpyles1877 Год назад +43

    I saw a video where a guy programmed a turtle for tele operation outside of minecraft in essence being able to “hack” into a server. (Yes he was able to make more turtles he could control)

    • @WizardNamedMerlin
      @WizardNamedMerlin  Год назад +22

      Yeah, that's a fantastic project by Ottomated: ruclips.net/video/pwKRbsDbxqc/видео.html
      That's one way to make self-replicating turtles, have them be human controlled!

    • @ivanyzerhornetteam6023
      @ivanyzerhornetteam6023 3 месяца назад +3

      ​@@WizardNamedMerlin pretty sure he did implement ability for turtle to autonomously reproduce

  • @SunroseStudios
    @SunroseStudios Год назад +104

    this is really cool! would love to see a timelapse of how quickly they can replicate

    • @WizardNamedMerlin
      @WizardNamedMerlin  Год назад +27

      Thanks! Yeah, I wanted to end the video with that but I had some trouble getting chunks to load properly. I'm still working on a solution and I think I'll find one soon.

    • @whistler_
      @whistler_ Год назад +4

      @@WizardNamedMerlin idk if you'd consider it cheating but you could use one of those mods that adds a chunk loader?

    • @BarnetGamer
      @BarnetGamer Год назад +11

      @@WizardNamedMerlin I might be a little late with that. But just in case you still haven't found a solution for that. To prevent the unloading issue without any external mods I log everything in a file after every move and make the turtle read the file on startup to figure out where it left of. This obviously might be a lot of work to integrate into your code and it also means that they still won't work in unloaded chunks, but at least they won't be lost somewhere at the end of the world for all eternity. Btw the spiritual successor mod (Open Computers) has this as a built in feature. Drones keep their memories buffered in unloaded chunks and continue automatically where they left of, when the chunk gets loaded again.

    • @BobDawgs
      @BobDawgs 3 месяца назад +1

      @@WizardNamedMerlin so unfortunate you didn't get around to doing this, it sounds so entertaining

    • @wilhellmllw3608
      @wilhellmllw3608 3 месяца назад

      @@BobDawgs ​ Yesterday he updated his Github page about chunk loading, he might still be working on it!

  • @anonymousanon4822
    @anonymousanon4822 Год назад +48

    Very cool!
    Suggestions to improve the success rate/reduce the need for initial ressources:
    1. Turning doesn't cost fuel. So whenever the turtle is mining it should be turning in circles scanning all adjacent blocks for ressources. That way it has a high chance of finding coal on the way down to bedrock already, and it has a higher chance of finding diamonds/requires less fuel per diamond.
    2. I think the point of the challenge is to have the turtle start with nothing. Otherwise you could simply give it dirt and a sapling and have it build a tree farm and fuel up until it has enough to be 99.999% successful. So maybe try to find the sugarcane aswell (I know that's hard, but it's only a question of having enough fuel) and the chest should be no problem since it has to find wood anyways. The turtle can just build a little hole and drop it's inventory into there and suck the items back up after crafting.
    3. To increase chances of survival of the offspring, it would make sense for the parent to gather enough fuel to be able to venture into a new area after giving birth. That way the turtles wont fight for ressources.

    • @WizardNamedMerlin
      @WizardNamedMerlin  Год назад +22

      Hey! I love hearing from someone who thinks about these things too...
      I should have talked more about this in the video, for me the challenge was a little different than just the self replicating. I also wanted the process to be as fast as possible while still having a comfortably >50% success rate, which may be why I didn't do some of these things:
      1. Originally the program actually did exactly what you're describing, in fact I took it right from my Mastermine program (from a previous video) in which turtles look left and right. I was conflicted when I changed it, but my issue was time. BREAK-MOVE-LOOK is 2 time costing steps for 3 scanned blocks, whereas looking left and right is 6 for 5. As for when the turtle is going down to bedrock, you're absolutely right, it should be checking for ore and currently isn't. I could / should add.
      2. It's funny, if you don't start the turtle with sugarcane it will look for it, and there's even some special instructions so that it will mine sugarcane from the top of the stock down. It isn't smart enough too look along riverbeds, so that's a possible improvement. Again, I cared more here about replication and time rather than starting with nothing, but it's just a matter of what you're optimizing for.
      3. Since the turtles go in straight lines away from each other and in different directions (always 90 degrees off) they won't be fighting for resources for long. That said, the straight line approach has its drawbacks and my next iteration I think will be more area-based.
      Keep the suggestions coming because I'm always suiting up for the next project!

    • @anonymousanon4822
      @anonymousanon4822 Год назад +6

      @@WizardNamedMerlin Hey! Thank you for the quick and thorough reply! Given that you were (at least secondarily) optimizing for time your approach makes perfect sense. An interesting metric could be to measure how big the turtle population can get in a certain amount of time. If we assume it doesn't die out, your balance between success and speed is probably not far from optimal (although both sides can still be improved on obviously).
      When writing I did think about your turtles travelling far distances once they reach diamond height and was wondering whether you made sure to always have them face into different directions. In that case that should work quite well although long-term the turtles will probably spread according to some gaussian-like distribution around the starting point, with a lot of starvation around the center. So I think an area-based approach like you suggested could improve long-term performance a lot. I'd be very interested if you find the time to implement something like that.
      Now that I know that you're optimizing for time I do have another suggestion though. I noticed that crafting takes a very long time. Although this can be imrpoved slightly (detecting matching crafting steps like making planks from logs and merging them into one) this wont change. However the turtle is also waiting a long time for sugarcane to grow. So I think it could save a minute to craft everything that can be crafted without paper while waiting. Another idea might be to use the waiting time to gather some more coal.
      Last idea for now, which might be against your philosophy: The turtles waste some fuel to figure out there level above bedrock. Especially when they end up having to gather coal before going back down to find diamonds. It would be a lot more efficient to gather coal first and then go down to find diamonds only once (unless extremely unlucky). To do that the turtle would need to know it's height before execution. Now I think it would be cheating to tell the first turtle. However to me it would be totally acceptable if a parent told it's child which height it is on. On could think of it as heritance. If you don't like that I understand. But if you don't have anything against it I think this would bring quite a big performance imrpovent.
      Cheers!

    • @WizardNamedMerlin
      @WizardNamedMerlin  Год назад +9

      @@anonymousanon4822 Now you're speaking my language! I agree a good metric is turtle pop / game time, I'd like to see how different methods match up. And like you said, there are DEFINITELY ways to improve both on my design. xD gaussian-like distribution is hilarious, you're totally right. It's pretty theoretical since turtles cover such a large distance, but after x amount of time starvation would happen at the center.
      And there's another reason an area based approach would be better. After this video I found a way to make turtles load chunks the same way as players, as well as speeding them up with the carpet mod. Population actually did start rising exponentially (in terms of game time), but lag caused the time between ticks to drop which ironically caused roughly linear pop growth. So another thing to optimize for in terms of practicality would trying to load as few chunks as possible (area based). I might make a video about this at some point.
      Crafting while sugarcane is growing is a good idea too, cuz almost all of the crafting can be done without it. @angelomatulac3764 suggested placing new sugarcane once it grows too, and I feel like combining these two ideas could really cut down on total time.
      And as for your idea of y-position inheritance, I love it! The way the program is set up (if I remember right), turtles only go down to bedrock if they don't already know their position. So it would actually be a really easy change to make. The first turtle would go down and check, but every following turtle would be set.
      Not sure what's next for this project, but thanks for the ideas!

    • @Katvanished
      @Katvanished 3 месяца назад +2

      @@WizardNamedMerlin it might be worthwhile to allow turtles to both "inherit" and "prepare" by gathering more materials than they need, and passing some of those onto a second cycle, either the descendants, or the second iteration of the original

    • @MentaalAchtergesteld
      @MentaalAchtergesteld 3 месяца назад

      @@WizardNamedMerlin Might be a bit late, but i'm wondering how you managed to make turtles load chunks? Was this using a custom resource, or did you find some weird trick to make it work? I'm currently thinking about also programming self replicating turtles, with possibly way more advanced swarming behaviour in the future, but my main issue is loading chunks. I could use a mod that adds a chunk loader for turtles, but the main one i found uses ender eyes in the recipe, which is impossible for turtles to get since they can't travel through dimensions. I could change the recipe, purely for this, but if you found a better way of doing this i'd love to hear!

  • @krajsyboys
    @krajsyboys Год назад +38

    Amazing! I would love to see this with chunk loaded turtles and using the carpet mod to tick warp to see how many turtles you can get within a certain time

    • @WizardNamedMerlin
      @WizardNamedMerlin  Год назад +18

      Wouldn't that be cool? I wrote a data pack that would chunk load turtles, but it didn't work with crop growth so it broke when it got to sugarcane. I thought about trying the carpet mod (because it has chunk tick features), I'll look more into that.

    • @krajsyboys
      @krajsyboys Год назад +2

      @@WizardNamedMerlin Keep me updated!

    • @cavemanpretzel9520
      @cavemanpretzel9520 Год назад

      It might also work to just restrict the world border to render distance

    • @elnico5623
      @elnico5623 Год назад +3

      Crops only grow around the player, the chunk being loaded is not the only requirement

  • @tux1468
    @tux1468 4 месяца назад +9

    using old textures? BASED

  • @Z.O.M.G
    @Z.O.M.G Год назад +24

    So you are telling me, you created a self replicating gray goo, that can create clones by it self? Because that would be insanely cool and impressive

    • @thepizzaguy8477
      @thepizzaguy8477 Год назад +14

      if every turtle were to replicate in an hour, there would be 2^24 turtles in only 24 hours, or 16777216 turtles. if the game was on a super computer id love to try and play while they tear apart the world

    • @Z.O.M.G
      @Z.O.M.G Год назад

      @@thepizzaguy8477 holy shit. Yes

    • @WizardNamedMerlin
      @WizardNamedMerlin  Год назад +9

      @@thepizzaguy8477 16777216! That's my favorite number!

    • @thepizzaguy8477
      @thepizzaguy8477 Год назад

      @@WizardNamedMerlin neat

    • @zachowns1023
      @zachowns1023 Год назад

      @@WizardNamedMerlin how do I get it to come back home?

  • @thomasdechman9376
    @thomasdechman9376 3 месяца назад +1

    This reminds me of the dude who made a remote-control turtle to get onto a server without getting whitelisted

  • @SunVee
    @SunVee Год назад +11

    i am very surpised that this video only has ~1.3k views because this is so incredibly interesting and informative! i've seen something similar before but this is the first fully automatic one i've seen. thanks for making such an incredible video :)

  • @KarolOfGutovo
    @KarolOfGutovo Год назад +8

    How does the program react to unminable blocks? If it can handle them I think it could be cool to prepare a 1000x1000 "terrarium" with barrier block walls and elevated ore concentrations and watch them spread around and eventually deplete the coal and die out. Maybe have the turtles mine themselves (if that's possible) once they have no chance of regaining coal, or better yet, keep some coal to share with "dead" turtles they stumble upon.
    The project is very cool, you are like a wizard.

    • @WizardNamedMerlin
      @WizardNamedMerlin  Год назад +2

      I love everything about this :) ideas for the future... 🧙

  • @griggorirasputin6555
    @griggorirasputin6555 3 месяца назад +1

    This is extremely cool! It’s incredible to imagine what other behaviors the turtle could express throughout its life cycle, and how it could interact with players, I’ve never used this mod before so I don’t know how laggy it is, but I hope it runs well enough for complex behaviors and large populations to be possible

  • @caesar_cider2777
    @caesar_cider2777 3 месяца назад +1

    now it's only a matter of time until someone uses turtles to make Grey Goo

  • @ThatJay283
    @ThatJay283 3 месяца назад +1

    ive made turtles do massive quarries using shulkers for temporary storage and a bucket for lava, and it definitely increased the efficiency of them. i made them opportunistic and able to refuel on lava and coal.
    also, clearing across XZ or YZ at a time was much better at finding fuel than across XY. because of lava as fuel, the same algorithm also worked in the nether too :)

  • @Rpahut1
    @Rpahut1 3 месяца назад

    Thought about making something like this too but... didn't. I would have turtles have different roles - some would gather resources, other manage storage and craft items, other still collect fuel and supply refueling chests or even deliver it to the turtles that need it... Fun stuff.

  • @toothlessblue
    @toothlessblue 3 месяца назад +2

    this is something I want to accomplish with OpenComputers, although robots are considerably harder to build than turtles, and I'll probably need a power grid of sorts

  • @vene
    @vene 3 месяца назад

    Absolutely lovely. It's a shame you stopped making videos, there doesn't seem to be anything else on youtube that scratches quite the same itch that this video does. It's extremely cool and really inspiring.

  • @RyanjrPlays
    @RyanjrPlays Год назад

    Ive always considered doing something like this but never made it into actuality. Theres some very nice coding going on here! Nice job!

  • @cj1184
    @cj1184 3 месяца назад

    Super relevant. I just finished reading the Bobiverse series. Now I want to make a network on these.

  • @christianloizou4463
    @christianloizou4463 Год назад +2

    Dude, you're an absolute genius

  • @user-jm8sy5ox2j
    @user-jm8sy5ox2j 3 месяца назад

    This is a really cool project, it goes against the original principle, but a central base would make this far more reliable and practical. Ender chests can be used to send items back and forth to a central base where fuel would be grown, turtles would be crafted, floppy disks would be programmed, excess items would be offloaded, etc. This way, you wouldn't have to consider running out of fuel or the long wait time for sugar cane to grow, and the turtles could focus on producing resources or deploying new members.
    If you let it run for several hours while waiting for the turtles to duplicate enough, you could probably get one of the higher output mining machines in minecraft with like 100 turtles milling about near bedrock.

  • @etis398
    @etis398 Год назад

    Hey, this video is informative and I think there is a lack of content on youtube for this wonderful mod with so much potential. Full let's play with automation and various farms, tree farms, food farms, quarries, how to use turtles as companions in a survival game !

  • @mrchapin94
    @mrchapin94 3 месяца назад

    My God, freaking wizard with technology you are.

  • @rafa_br34
    @rafa_br34 3 месяца назад

    "There are lots of things that can go wrong here" Ah yes, the most accurate phrase I've heard from programmers.

  • @jpalien1
    @jpalien1 2 месяца назад

    thats awesome i tryed doinh that in ftb lite back in the day but my turtles keept dying before they could gather enough materials i love how you solved the fuel problem this video honestly gibes me motivation to revive my old code agaim

  • @abe-danger
    @abe-danger 3 месяца назад

    now we need that very industrial music in the background with a long timelapse and boom, world domination by turtles!

  • @cheekysurfer6900
    @cheekysurfer6900 3 месяца назад +1

    you could definitely make this more efficient if you add some logic of keeping some of the materials like the remaining paper so that the turtle could potentially make more than one turtle at once or not have to spend as much time the second time to make a turtle

  • @dfined3630
    @dfined3630 3 месяца назад

    Well done on making grey goo!

  • @john.dough.
    @john.dough. 3 месяца назад +1

    reminds me of ottomated's video! neat! thanks for sharing

  • @xevento8682
    @xevento8682 3 месяца назад

    Oooooh, i'll definitely be giving this challenge a shot. I already have some ideas like a better algorithm to find ores, especially for the diamonds. This is really interesting.

  • @RhuanvcSantiago
    @RhuanvcSantiago Год назад +4

    Cool video, bro. Have my subscribe!
    Waiting for another one witch you show us how many of them survived after a long time, how many will exists after a certain period, and how much minecraft supoorts until it crashes. xD

    • @WizardNamedMerlin
      @WizardNamedMerlin  Год назад +1

      Thanks so much! I would love to make a video like that, and I'm currently working on solving the problem of loading in chunks around turtles. All the fun ways to crash Minecraft :)

  • @juhotuho10
    @juhotuho10 Год назад +5

    Holy, this is amazing
    improvement suggestion:
    Instead of dumping resources that it doesn't need, it puts them in a chest and then picks them back up to help with the constructiuon of a new turtle

  • @MinecraftTestSquad
    @MinecraftTestSquad 3 месяца назад +1

    Dude! This is really cool and I was very sad to see you hadn't made more videos on this. Do you plan to expand the concept? I think this is super interesting :D

  • @Lupinta
    @Lupinta 3 месяца назад

    Very cool! I remeber seeing someone do it on the OTVserver too :-)

  • @sajeucettefoistunevaspasme
    @sajeucettefoistunevaspasme 3 месяца назад +1

    that's an interesting thing you did, Merlinlikethewizard

  • @jacklewis256
    @jacklewis256 Год назад

    wow that's brilliant!

  • @oMisqki
    @oMisqki 3 месяца назад +1

    The turtles will have multiplied to expand their population’s sustainance to expand beyond the plain in which they were created. They will be so many that they have to move elsewhere to live. Eventually they will learn about the player and learn about how the player uses the precious resources that they use to multiply. The turtles will then work to eriadicate the human and end their wasteful ways.
    This is huge…

  • @ianweckhorst3200
    @ianweckhorst3200 3 месяца назад +1

    A tip, f3+n can be used to quickly swap between spectator and creative mode

  • @gh05tparkourfreerunning31
    @gh05tparkourfreerunning31 Год назад

    I'm also planning on building something similar! Granted I was just going to run a websocket on an express server to give them all their commands to control them all with minimal lua :p
    Bonus suggestion: a preist turtle that delivers fuel to dead turtles to revive them! Granted that'd work better with the websocket so you know where they all are :)

  • @omegahaxors3306
    @omegahaxors3306 3 месяца назад

    Fun fact I almost once made an opencomputers robot that was self-aware, but due to a bug it would constantly "learn" the same block over and over and over again causing it to fill its entire memory bank with "stone" I realized that it was impossible to differentiate things with the implementation that I used and it was cosmically hard to come up with one that did, so I just quit.
    Point is, this brings me back to the good old days of modded minecraft.

  • @ze5os427
    @ze5os427 3 месяца назад

    this is inspiring me to make a turtle colonization AI thingy using ComputerCraft

  • @FlatlandsSurvivor
    @FlatlandsSurvivor 4 месяца назад

    For a reliable fuel source, I am intrigued by kelp. Spreading an endless kelp ocean to harvest as it goes has so much potential.

  • @longerblade
    @longerblade Год назад +1

    this remind me about self-replicating slylandro drones from SC2

  • @dyjhjfrtt6607
    @dyjhjfrtt6607 3 месяца назад +2

    You basically just created the grey goo.

  • @omegahaxors3306
    @omegahaxors3306 3 месяца назад

    If you ever wanna try this again with opencomputers, the geolyzer can be installed and act as a little ground penetrating radar. Alternatively if you use wireless cards you can also have a central geolyzer scan the area then feed data to the hive.

  • @mistycremo9301
    @mistycremo9301 3 месяца назад

    I'd love to see a version of this where the clone can have it's code randomly (or pseudorandomly) editted. Just starting it up and letting it run for a while would be cool

  • @GewelReal
    @GewelReal 3 месяца назад

    Thanks RUclips for showing me this 2 years later

  • @DavidplusNK
    @DavidplusNK 3 месяца назад

    You made gray goo in Minecraft? Aweosme!

  • @pokruk0
    @pokruk0 Год назад

    Interesting idea, like!

  • @dadstruction368
    @dadstruction368 3 месяца назад

    I’ve been wanting to try self replication for some time, but it never occurred to me to combine crafting and mining in one turtle. This is amazing. Only issue I have with the program is that the search runs in a straight line forever until it finds the ore or (more likely) runs out of loaded chunks. Would be great if it turned right occasionally. Maybe have it measure the distance from the last turn, turn when distance is greater than TURNDIST and increment TURNDIST.

  • @Franschisco
    @Franschisco 3 месяца назад

    omg imagine adding parameters for each of the turtles and having the parameters slightly change per generation mimicking evolution

  • @-fish-3316
    @-fish-3316 Год назад +11

    Very interesting project!
    Lava would also be a great way to refuel.
    Question: How does the 2'nd turtle turn on and boot the program by itself? I'm a bit new to this mod. Maybe I missed something.

    • @WizardNamedMerlin
      @WizardNamedMerlin  Год назад +16

      Good question, this is something I didn't know was possible until I wrote the program. Firstly, a turtle can boot an adjacent turtle/computer by calling for instance "peripheral.call('bottom', 'turnOn')". Secondly, when a computer boots, it will run any file labeled "startup" either in it's directory, or (importantly) on any disks that are connected. So all the first turtle has to do is copy it's code to a file called "startup" on the disk (with some extra code for unpacking the first time it's run), and then boot the second turtle, and the rest is automatic.

    • @-fish-3316
      @-fish-3316 Год назад +2

      @@WizardNamedMerlin Thank you for answering! Now it is all clear.

  • @2kaza
    @2kaza 3 месяца назад

    itd be pretty cool if turtles could communicate and share resources!

  • @aedenallen9920
    @aedenallen9920 Год назад +5

    Now I'm wondering, are you able to set a limit for how many they make on their own and have them all return to the original position the first one was made so that you can wipe the code from the files and have a bunch of turtles? Also, love the mining code you made, just started using it and they are already proving how useful they are!

  • @RobertPendell
    @RobertPendell 8 месяцев назад +1

    Survival of the Fittest: Turtle Edition

  • @dadamaldasstuff1816
    @dadamaldasstuff1816 5 месяцев назад

    I think a chunk loader would be cool, but could be tricky to craft. you can also switch tools from the inventory.

  • @ThatJay283
    @ThatJay283 3 месяца назад

    nice! i probably would've made them abit more oppertunistic tho. like farming more than just one sugarcane at a time and getting coal/iron/redstone/diamonds that it doesnt need
    also, what if the turtle parameters (like for item targets) were mutatable? like, just chuck all the mutatable parameters into a new json file, then mutate and send? so some new turtles just fail somewhere, while others get really successful.

  • @Xavier1...
    @Xavier1... 3 месяца назад

    I whant a 10h long video of this so satisfying to se them multiply lol

  • @wurstkatze
    @wurstkatze Год назад

    So cool! :D

  • @Iestynity
    @Iestynity 2 месяца назад

    Is there anyway to keep track of them, such as which generation they're apart of and how many other turtles they've created? Great work!

  • @gunnargu
    @gunnargu 3 месяца назад +2

    Give them chunk loaders and then leave it running a few weeks! CraftyMiningChunkload Turtles!

  • @whistler_
    @whistler_ Год назад +1

    Any plans to do more videos on this? I'd love to see one that's just seeing how much they can replicate

  • @wj11jam78
    @wj11jam78 3 месяца назад

    responsiveness: reacts to blocks around it
    growth: you could view the sugar cane process as it "growing" the brain of its next of kin
    metabolism: poops out extraneous blocks
    energy transformation: uses fuel to power itself
    reproduction: creates a replica of itself

  • @brianzmek7272
    @brianzmek7272 3 месяца назад

    You could definitely add a tree farm mode to vastly improve the turtles life span you would have the to give it a starter sapling and they could still starve if somthing dusrupts the farm or they get unlucky with sapling drops but this way there is a strain that is slow but can clean the arias others have already stripped the coal from.
    Similarly the turtle could carry a water bucket (or something even self upgrade) so it can grow shuger cane anywhere. And a truly industrious one could farm cobblestone but that seems unnecessary.

  • @helved807
    @helved807 3 месяца назад

    I really want to see a timelapse of a set size world box get eaten by these, then watch them quickly drop in population as the resources get drained

  • @Hens1123Minecraft
    @Hens1123Minecraft Год назад +3

    Lol can you make the living turtles refuel the dead ones if they find the dead ones?

    • @WizardNamedMerlin
      @WizardNamedMerlin  Год назад +2

      I like that idea! In future projects I'm hoping to have wireless replicating turtles (a little more difficult), and maybe they could gps track to find fallen brethren :)

    • @Hens1123Minecraft
      @Hens1123Minecraft Год назад

      @@WizardNamedMerlin Very cool stuff. keep making these crazy designs!

  • @Junkboy888
    @Junkboy888 6 месяцев назад

    fantastic.

  • @RealRedditConfessions
    @RealRedditConfessions 3 месяца назад

    Awesome video cool name

  • @Chiaros
    @Chiaros 3 месяца назад +2

    The grey goo is inevitable.
    (btw, you can do F3+N to toggle spectator mode)

  • @kodiedaines
    @kodiedaines 11 месяцев назад

    lovin it.

  • @pialamode
    @pialamode 3 месяца назад

    Have you considered using lava as a fuel instead of coal? You wouldn’t have to go up to coal level when you were running low on fuel, and in addition you could actually get infinite fuel if you kept a full lava bucket, a single piece of dripstone, and a cauldron on the turtle at all times. Dripstone dripping lava over a cauldron produces infinite lava buckets, albeit very slowly, and you can place that down anywhere that’s not underwater. The downside of this is the turtle would have to find dripstone to duplicate itself, but dripstone caves are not actually particularly rare.
    It also seems like it’d be a surer bet to have the turtle keep a sapling around to get the wood rather than searching out naturally existing trees. You could actually do this at the same time as it’s waiting for the sugar cane to grow by putting a sapling on one side of it and a sugar cane on the other. Then the only time you’d depend on the surface biome is for sand. You need to be mindful because the turtle has limited inventory slots, obviously, but you’d only need to hold about 4 extra items and it looks like you have the slots open for that.

  • @demonhunterjj180
    @demonhunterjj180 3 месяца назад

    I think a cool function would be to have a call button that tells all the turtles with this code to travel to a specific location.

    • @WizardNamedMerlin
      @WizardNamedMerlin  3 месяца назад +1

      I would love this. It might be hard since wireless turtles need enderpearls for their modems, which are a bit of a task for turtles to farm. Still, worth looking into

  • @pootis1699
    @pootis1699 3 месяца назад

    Congratulations you made a living thing

  • @austinsgameroom
    @austinsgameroom 11 месяцев назад

    ottomated made a websocket that lets him connect to servers and play as a turtle without being whitelisted, this seems like a program that would be perfect to be packaged along side it

  • @eve_squared
    @eve_squared Год назад

    maybe have them use a partner to send resources back to base? I'd love for it to be more practical for survival but amazing nonetheless. Really feels like the turtle is just playing minecraft on it's own. Especially since it can "Die" and doesn't respawn so it builds more of itself to prevent that.

  • @somerandomdragon4655
    @somerandomdragon4655 4 месяца назад +2

    Can you set area provisions and the ability to destroy structures? This has the capability to be an extremely difficult to counter directed grey goo weapon for use in faction servers

  • @TheJimmyCartel
    @TheJimmyCartel Год назад +1

    On tekkit 2, when I put in the code, everything starts off working great, put in the coal, goes to next step, put in the chest and it checks the box, but putting in sugar canes doesn't seem to do anything. i replaced all the minecraft:sugarcane in the code with minecraft:reeds and that worked!

    • @shadowhook1535
      @shadowhook1535 3 месяца назад

      thank you bro im trying to fix it

  • @nateblanchard2951
    @nateblanchard2951 Год назад

    he is really good we been working on a cool track laying program

  • @wchemik7777
    @wchemik7777 4 месяца назад

    Looks amazing though i feel compelled to ask how it handles the Ocean in the context of gathering coal

  • @potatoheadpokemario1931
    @potatoheadpokemario1931 Год назад +3

    wouldn't it be more efferent to keep the leftover items it will need rather than dumping the leftovers?

    • @w1keee
      @w1keee Год назад +2

      probably, but it would be more complicated to program

  • @KindofBradAtThis
    @KindofBradAtThis Год назад

    Hey Merlin! Been a fan of your work for awhile man, I have a project that's computer craft related you might be interested in!

    • @WizardNamedMerlin
      @WizardNamedMerlin  Год назад

      A project you say? Lemme know the deets! You can find my email on my site: merlintutoring.com

  • @ajgraham7085
    @ajgraham7085 3 месяца назад

    Need to do a grey goop scenario.

  • @neves5083
    @neves5083 8 месяцев назад

    My ideas of self replicating turtles solved the problem of fuel going on the lines of "Consume anything and everything that burns" lol
    It was kinda the idea to destruct the entire world anyways so i never had to bother with tree farms, it was supposed to consume the forests anyway

  • @Gamingoodz
    @Gamingoodz 4 месяца назад

    I always think it's crazy when people can get something built with thousands of lines of code. I'm just learning as a hobby and thinking about that hurts my head.
    I work in IT but on servers and networks. I'm not a programmer. I like to tinker and learn things tho so programming always interests me. I've wrote simple programs in CC but I can't imagine 6k lines of code.

  • @emmettdja
    @emmettdja Год назад

    Is that an A Star search algorithm for mining out the veins? I would love to see how it works... probably can just take a peek a the pastebin. Nice work. I had this challenge idea in my mind as well...

    • @ictogon
      @ictogon Год назад

      Depth first search would work just as well

  • @gold264
    @gold264 3 месяца назад

    It can determine it's y level based on the deepslate, also it should place down the second sugar cane to grow

    • @gold264
      @gold264 3 месяца назад

      Also why the hell does it throw out excess resources

  • @MinerBat
    @MinerBat 10 месяцев назад

    it would be cool if the program made sure it does not move away too far from its starting location and all the children dont either. then you can just have an area being overrun with them while right now they will move out of render distance

  • @Zero-4793
    @Zero-4793 3 месяца назад +1

    woulda loved to see the 2 from ealier and if they were up to 4 now.

  • @pineapplewhatever5906
    @pineapplewhatever5906 5 месяцев назад

    Is there a version of this for pre-1.18 or whenever the height limit changed?

  • @sunflake_
    @sunflake_ 4 месяца назад

    HENRY! THEY ARE MULTIPLYING!!!!!!

  • @andrew3606
    @andrew3606 Год назад

    I wonder if it would be worth it to have the original turtle go off in a different direction like 20 blocks before it digs down again to avoid finding the same ore veins

  • @afadeevz
    @afadeevz 6 месяцев назад

    What a nice and clean code. Like + subscribe for sure