The Farmer Was Replaced - "A Drone Farming Simulator"

Поділитися
Вставка
  • Опубліковано 31 гру 2024
  • Step into the world of The Farm Was Replaced, where coding meets farming in an exciting automated adventure! In this unique game, players harness the power of programming to control drones that manage and expand their farms. By writing custom code, you can dictate the actions of your drones-whether it’s planting seeds, harvesting crops, or optimizing resource management.
    As you delve into the coding mechanics, you’ll discover innovative ways to automate tasks, streamline operations, and boost productivity. Explore a variety of landscapes, solve complex challenges, and unlock new features as you code your way to a thriving farm. Join me in this captivating journey, where your coding skills will be the key to cultivating a successful agricultural empire!

КОМЕНТАРІ •

  • @mkDaniel
    @mkDaniel 2 місяці тому +2

    1:27 the eternal struggle of a programmer...

    • @TheCasualSweats
      @TheCasualSweats  2 місяці тому +1

      Right!? It'll probably change 100 times and end up back at "test" before we're done 🤣

    • @romanobreuer9230
      @romanobreuer9230 2 місяці тому

      Great video, you got you a subscriber

    • @TheCasualSweats
      @TheCasualSweats  2 місяці тому

      Thanks so much @romanobreuer9230! Got more vids in the pipeline, plan on revisiting this one eventually! 😁

  • @youraccountissuspended
    @youraccountissuspended 2 місяці тому +1

    for x in range(get_world_size()):
    if x % 2 == 0:
    y_range = range(get_world_size())
    else: y_range = range(get_world_size() - 1, -1, -1)
    for y in y_range:
    if can harvest(): harvest()
    plant(Entities.)
    moveTo(x,y)

    • @TheCasualSweats
      @TheCasualSweats  Місяць тому

      This is beautiful and made me tear up a little, I am definitely making another video and putting this in!

    • @LudooVerso
      @LudooVerso Місяць тому

      . Ignore-me, just saving for tomorrow

  • @EmM-ko7mu
    @EmM-ko7mu 2 місяці тому

    i give up on the maze theres no way i can do that without random movements. the hints in game dont help

    • @TheCasualSweats
      @TheCasualSweats  2 місяці тому

      I've seen some snapshots on the maze, haven't got there yet so keep your fingers crossed for me!

    • @mkDaniel
      @mkDaniel 2 місяці тому

      @@EmM-ko7mu random movement Will work as long as there is a way therebut will be slow. You can weight the direction which gets you close since you can sense terasure position. Other way Is wall folowing. That will work as long as there Is no loop but is significantly faster.

    • @EmM-ko7mu
      @EmM-ko7mu 2 місяці тому

      @@mkDaniel not smart enough to know how to follow the walls. thats the issue i dont see the pattern to follow even forgetting about code.

    • @mkDaniel
      @mkDaniel 2 місяці тому

      @@EmM-ko7muall moves Are relative to your current foward
      1. remember a direction (does not master which one) as foward
      2. Try moving to direction perpendicular to that you are moving in (e.g. right)
      3. On suceed this Is your new move direction
      4. On faliure go foward
      5. Repeat from step 2. untill above terasure

    • @EmM-ko7mu
      @EmM-ko7mu 2 місяці тому

      @@mkDaniel and if 3 and 4 both fail as you are at a dead end you then cant move with those rules as forward left and right are all blocked. if you then pick back as the new direction youll hit a wall and try to go right which puts you right back into the dead again again. do you just randomly pick a perpendicular direction and not preference one as if you do you end up in a clockwise loop. i dont see it i legitimately gave this multiple hours of thought before giving up