Kedrigern
Kedrigern
  • 290
  • 315 989
The Advanced Maze Coding Challenge Made Me Cry
The Maze puzzle is one of, if not the, toughest challenge this game has to offer. It was so much pain making this puzzle work but I managed in the end. But I did not stop there as today I will be attempting to solve the advanced version of this puzzle.
This additional challenge makes the puzzle seemingly impossible as the maze can now contain loops. Will I be able to figure out this advanced coding task? It would be a shame if a real software engineer failed such an "easy" puzzle.
So prepare for a thrilling experience where I brainstorm ideas and try to implement them. You can look forward to a tonne of bugs and a lot of hair-pulling as I try to find them and squash them one by one. I am still not sure how many are left in the code. That is a programmer's curse!
🔔 Subscribe to the channel for more gaming adventures, coding challenges, and tech insights!
🎮 Farmer Was Replaced Playlist: th-cam.com/play/PLnI5px0eVEbV3NHeHi7524uOXMOZyusW5.html
🎬 Watch the full 7 Billion Humans (coding puzzles) series here: th-cam.com/play/PLnI5px0eVEbVtyGjZ4aJWUdogkahQGRiM.html
🔥 Shorts: th-cam.com/play/PLnI5px0eVEbW5kf_NhQPJ_va2cJqPtjss.html
0:00 Intro
0:43 What is the Maze puzzle
2:48 How does my code work
7:36 Advanced version
12:28 Solving the loops
17:06 Annoying bug
24:16 Final optimization
#puzzlegame #codingchallenge #clickergame
มุมมอง: 1 619

วีดีโอ

Blueprint Unlocks Are Underrated
มุมมอง 272วันที่ผ่านมา
This is not just a useful mechanic, this is the CORE mechanic the game revolves around. Blueprints are what makes Shapez enjoyable and addictive. The satisfying gameplay doesn't stem from the stunning visuals but from the efficiency at which you can produce shapes using blueprints. I always aim to unlock the full potential of blueprints as I truly feel they might be a little underrated and unde...
Ultimate Coding Rage Test
มุมมอง 214วันที่ผ่านมา
This video contains the purest of raging over coding challenges. If you are interested to see what goes through a programmer's mind when solving a tough assignment, this video is for you! Feel what it's like to be in a software engineer's skin for just 15 minutes and experience the ups and downs of this fun profession! Even though this challenge seems really simple, it is deceptively hard. With...
Blueprints in the Hands of a Software Engineer
มุมมอง 2642 วันที่ผ่านมา
Blueprints are super powerful when used by someone used to this kind of optimization. Reusing bits of code or anything with a function is the core of being a software engineer. The trick is to make the blueprints generic enough to be viable in many situations. But not make them too generic so that they would become too annoying to even use. Finding that sweet spot is the hard part. Shapez 2 off...
Can I Beat The Ultimate Coding Challenge?
มุมมอง 82714 วันที่ผ่านมา
We have reached the final stage of the game. Our generic universal code can just be run and go head-to-head with other programmers. Simple speed test - our program versus their programs. Only one can claim the top spot. This truly sounds like the simplest challenge ever, since our code was completed weeks ago...right? ..right? I sure hope there won't be any unforeseen difficulties and additiona...
Is This the Fastest Decimal Counter?
มุมมอง 17114 วันที่ผ่านมา
As a programmer, I am used to counting in binary. Does that mean I can no longer function in the normal world of decimal numbers? Am I even able to count in decimals anymore? This video aims to answer that question, as I dive into a surprisingly challenging coding puzzle that relies on a decimal counter instead of the standard binary counter. Our goal is, however, not only to complete the chall...
I Engineered Dinosaurs Using Source Code
มุมมอง 91421 วันที่ผ่านมา
Possibly one of the last proper hard coding challenges this game has to offer and it gets solved today! ...hopefully! Enjoy this programming assignment as I hatch dinosaur eggs, write a sorting algorithm, and go through many iterations of solutions all in the hopes of progressing further towards the ultimate goal. Tough hurdles and impossible bug-fixing on the way are expected. But even more im...
Real Software Engineer Builds a Shapez Factory
มุมมอง 21321 วันที่ผ่านมา
Shapez 2, an insanely addictive factory builder is finally here! This game offers infinite optimization possibilities, satisfying gameplay, and mechanics, and is just a pleasure to look at. This is a long-awaited sequel to the successful game Shapez. It improves on the visual aspects heavily and leans towards better usability, UI, and quality of life. You will not find a more satisfying game an...
My Coding Addiction got Out of Hand
มุมมอง 3.2K28 วันที่ผ่านมา
This is what happens when optimization and code cleanup get a little out of hand. The programming addiction is strong with this one. There is always stuff to improve and although I try to take the code clarity to the next level and you all my refactoring skills, this is far from being done. A skilled reviewer would still have more than a few things to say about this code. That does not stop me ...
I Programmed a Magical Forrest
มุมมอง 168หลายเดือนก่อน
Programming does not only mean writing lines of code. Instructions you are trying to program can be given in many other ways. Here specifically, I program an optimal factory which is done mainly by setting the layouts of paths (conveyor belts) and strategical placement of item filters, one-way signs, splitters, and more. Today we make major progress in the game as we utilize newly unlocked mini...
I Beat This Coding Challenge in Record Time
มุมมอง 2.8Kหลายเดือนก่อน
I tackle yet another insane coding challenge. This one is mostly a mathematical puzzle so it is a nice change of pace. There will still be a lot of coding, however! Interestingly, this puzzle turned out to be much simpler than all the previous ones. Surprisingly this is what made the reward taste so much better. This is a well-deserved trip back to the basics of coding. It is also an essential ...
I Created the Best Sorting Mechanism
มุมมอง 202หลายเดือนก่อน
As a software engineer, I know the importance of creating something optimal. And even though this is just a cute factory builder, that does not mean we can build anything without real thought. In this video, I focus on creating a new layout that tackles all the issues found with the previous one (fixes all the bugs), increase the production of sparks in a major way, after unlocking a few new me...
This Coding Challenge Made Me RAGE
มุมมอง 2.7Kหลายเดือนก่อน
The toughest challenge this game has to offer is here! In this video, I attempt to solve the maze puzzle. This challenge might be the most deceptively difficult yet. It looks simple but in reality, it is quite complex. I put my coding skills on the line and test my knowledge of graph-searching algorithms, tree structures, and obviously recursion. Conquering this puzzle is a must if we want to c...
Real Software Engineer Automates a Forrest
มุมมอง 804หลายเดือนก่อน
Real Software Engineer Automates a Forrest
I Over-Engineered an AI Drone
มุมมอง 3.4Kหลายเดือนก่อน
I Over-Engineered an AI Drone
Real Wizard Automates a Factory
มุมมอง 376หลายเดือนก่อน
Real Wizard Automates a Factory
The Most ADDICTIVE Coding Game Ever
มุมมอง 4Kหลายเดือนก่อน
The Most ADDICTIVE Coding Game Ever
I Automated a Tower Defence Game
มุมมอง 1.1K2 หลายเดือนก่อน
I Automated a Tower Defence Game
I got ADDICTED to Coding
มุมมอง 87K2 หลายเดือนก่อน
I got ADDICTED to Coding
Optimization Earned Me Millions $
มุมมอง 5772 หลายเดือนก่อน
Optimization Earned Me Millions $
ULTIMATE Test of My Coding Skills
มุมมอง 3.2K2 หลายเดือนก่อน
ULTIMATE Test of My Coding Skills
The Secret Purpose of Programming
มุมมอง 2.3K2 หลายเดือนก่อน
The Secret Purpose of Programming
Most Annoying Deck in Magic: The Gathering
มุมมอง 2552 หลายเดือนก่อน
Most Annoying Deck in Magic: The Gathering
This Overpowered Advice Saved My Code
มุมมอง 2K2 หลายเดือนก่อน
This Overpowered Advice Saved My Code
Optimal Code Doesn't Save You
มุมมอง 3.2K2 หลายเดือนก่อน
Optimal Code Doesn't Save You
Optimization can SAVE Your Code
มุมมอง 1.3K2 หลายเดือนก่อน
Optimization can SAVE Your Code
Real Software Engineer Automates a Clicker Game
มุมมอง 4.1K3 หลายเดือนก่อน
Real Software Engineer Automates a Clicker Game
How much do Programmers SWEAR?
มุมมอง 1.5K3 หลายเดือนก่อน
How much do Programmers SWEAR?
The Toughest Game of MTG Ever
มุมมอง 483 หลายเดือนก่อน
The Toughest Game of MTG Ever
Dumbest Programmer Solves Impossible Puzzles
มุมมอง 2503 หลายเดือนก่อน
Dumbest Programmer Solves Impossible Puzzles

ความคิดเห็น

  • @fikus7879
    @fikus7879 วันที่ผ่านมา

    16:48 "První thumbnail, a druhej thumbnail by moh bejt." Jsem si říkal že na Angličana moc nadáváš.

  • @MorningNapalm
    @MorningNapalm 2 วันที่ผ่านมา

    Instead of while get_entity_type() != Entities.Hedge, try while get_entity_type() == Entities.Bush, for make_maze.

    • @KedrigernGaming
      @KedrigernGaming 2 วันที่ผ่านมา

      Yet another example when the original solution worked, the task got more complicated, original solution no longer worked so I slapped a band-aid on it instead of "rewriting" it altogether. You are right, this is much better :)

  • @McSmurfy
    @McSmurfy 3 วันที่ผ่านมา

    Well, even though the game defeated me, I can still watch you destroying it😅. My dad is now trying to do the leaderboard thing and optimizing his maze code to become faster.

    • @KedrigernGaming
      @KedrigernGaming 3 วันที่ผ่านมา

      Good luck to your dad!! That leaderboard puzzle is so mean. In my code there is so much room for optimization still. But I feel the leaderboard puzzle might just break everything anyway. Let's see!

    • @McSmurfy
      @McSmurfy 3 วันที่ผ่านมา

      @@KedrigernGaming 😅True, it always breaks when something is touched, like a Jenga tower.

    • @KedrigernGaming
      @KedrigernGaming 3 วันที่ผ่านมา

      You nailed it! I'd say I'm good at removing Jenga tiles (editing my code) but when I run it, it's as if I threw a bowling ball at it... It's actually a good coding analogy overall. Coding is like trying to remove Jenga bricks from a tower only using a bowling ball.

    • @McSmurfy
      @McSmurfy 3 วันที่ผ่านมา

      @KedrigernGaming 😂Using the bowling ball is true, with me, I basically used an excavator.

    • @KedrigernGaming
      @KedrigernGaming 2 วันที่ผ่านมา

      I love it 😂

  • @peeper2070
    @peeper2070 3 วันที่ผ่านมา

    I LOVE YOU! !! 🫶

  • @FoxSlyme
    @FoxSlyme 3 วันที่ผ่านมา

    Oh cool, this time TH-cam didn't forget to notify me

  • @McSmurfy
    @McSmurfy 7 วันที่ผ่านมา

    At the start of the game, I think I quickly broke that promise of not making any spaghetti, but they didn't fire me so I think I got away safely😅.

    • @KedrigernGaming
      @KedrigernGaming 6 วันที่ผ่านมา

      Don't worry, I broke it too. But now it's kinda a 'delete all' time. So I feel like a bit of spaghetti is fine!

    • @McSmurfy
      @McSmurfy 6 วันที่ผ่านมา

      @@KedrigernGaming 😅I think that's how it always goes with games like this.

  • @leamir0
    @leamir0 7 วันที่ผ่านมา

    "blueprints are underrated" Said noone ever

  • @kovacsattila8993
    @kovacsattila8993 8 วันที่ผ่านมา

    But does this game make you get into polymorphism? Where are the classes and methods? Do you have to import modules and use them? So you say you not going to hit a solid wall with a simple planting game after like a few weeks? I am not sure. If you want to argue with me don't use the "after you master the game do something else" argument. I really just curious how far this game will take you by it's own.

    • @KedrigernGaming
      @KedrigernGaming 7 วันที่ผ่านมา

      I don't think it does (no polymorphism, classes or any of that fancy stuff). It is a very 'simple' version of coding. Beginner friendly in that sense I feel. I suppose this is less 'learn to code' and more 'solve puzzles' kind of game. But it the closest any game has ever gotten to coding as far as I know. So you can actually learn the basics quite nicely as it is all visual and nicely done. The game also forces you to review your own code, debug it, refactor it on build on it. So if you write bad code, you are the one being punished for it later when you need to revisit it and make some changes. I have never seen a game like this before.

    • @kovacsattila8993
      @kovacsattila8993 7 วันที่ผ่านมา

      @@KedrigernGaming Well, it works for somebody but not for everybody. For example if you install KSP and start playing, you not going to have a great and easy time trying to land on the moon, more like a strouggle full of frustration. It's a game, and you can try out everything, but you still going to have a "Why i can't get this to work" experience probably, because most people does. Back to this game: for the same thing I recommend Mimo instead. Not frustrating. You not going to slam your phone into the ground, and teach you everything what this game does, even if you have tiktok attention, and even if you only have 5 minutes a day. And it WILL get you there. Probably many people going to have that certain KSP experience with this one also.

    • @KedrigernGaming
      @KedrigernGaming 7 วันที่ผ่านมา

      It is true this game just drops you into the action for sure. But I really love that it is not learning course or anything like that. It really is just a game.

  • @McSmurfy
    @McSmurfy 9 วันที่ผ่านมา

    I have been defeated so many times upon thinking "This does not look that hard and should be simple", then just watch a TH-cam video😅. Haven't seen this game, but its simple looking design is a trap to let you guard down as what happened here😂 and I am here for it.

    • @KedrigernGaming
      @KedrigernGaming 9 วันที่ผ่านมา

      Those deceptively simple puzzles are the hardest to solve. Keep in mind this is my third attempt at this puzzle. Each time I got better by utilizing some helpful advice, but even if it sounds clear on the paper, the implementation is entirely different.

    • @McSmurfy
      @McSmurfy 9 วันที่ผ่านมา

      @@KedrigernGaming For a 3rd attempt I would say it is amazing and I have played games with some puzzles in them (not puzzle games), but what is supposed to be simple, I ended up overcomplicating it and google the answer (then comes the 🤦‍♂️). The Entropy Centre is now where my braincells start working overtime, but getting through makes me feel like a genius😅.

    • @KedrigernGaming
      @KedrigernGaming 9 วันที่ผ่านมา

      Thanks! The game is interesting! Looks like Portal with more mechanics. Love that these puzzles are working for you. That "feel like a genius" is the main reason people solve puzzles :D

    • @McSmurfy
      @McSmurfy 8 วันที่ผ่านมา

      @@KedrigernGaming It is nice to play a game that requires more than just basic controls. It is more enjoyable to see these puzzle games when you play them because some of them are not for me, but if you want another coding scratch like game Autonauts is a good challenge to get things automated with bots and have limited inputs on them.

    • @KedrigernGaming
      @KedrigernGaming 8 วันที่ผ่านมา

      Now that looks really good! Thanks :) (actually it looks a bit crap but we don't play these game for the graphics :D )

  • @ambots13
    @ambots13 9 วันที่ผ่านมา

    same reason why I got into coding, making bots for almost all games I played with a high level clicker language.

  • @dropjesijs
    @dropjesijs 9 วันที่ผ่านมา

    That indentation mistake was so painfull to watch😂

    • @KedrigernGaming
      @KedrigernGaming 9 วันที่ผ่านมา

      You experienced high discomfort watching that for a long period of time. I did not because I didn't see it. But the pain I felt once I realized... still no idea what is worse 😂

  • @BaBythebestyoutuber000
    @BaBythebestyoutuber000 9 วันที่ผ่านมา

    I really enjoy watching your videos. Something about the way you talk makes it 100 times better

    • @KedrigernGaming
      @KedrigernGaming 9 วันที่ผ่านมา

      Now I have something in my eye... Thank you, so nice of you to say!!

    • @McSmurfy
      @McSmurfy 9 วันที่ผ่านมา

      I second that, it doesn't sound boring and can also can keep up with what is happening.

  • @sparkilliardschumacher9357
    @sparkilliardschumacher9357 10 วันที่ผ่านมา

    Love your videos

    • @KedrigernGaming
      @KedrigernGaming 10 วันที่ผ่านมา

      Thank you! This really means a lot to me!!

    • @sparkilliardschumacher9357
      @sparkilliardschumacher9357 9 วันที่ผ่านมา

      @@KedrigernGaming i just lobe the way u doing them, high quality and with a crazy amo7nt of humour

    • @KedrigernGaming
      @KedrigernGaming 9 วันที่ผ่านมา

      This warms my heart <3

  • @michaeledinger8256
    @michaeledinger8256 10 วันที่ผ่านมา

    The pure joy of recreational coding and swearing.

  • @angelonip2367
    @angelonip2367 12 วันที่ผ่านมา

    Great video, great game, great Red John pfp, greatest channel ever. 😂❤

    • @KedrigernGaming
      @KedrigernGaming 12 วันที่ผ่านมา

      Thank you so much!!! You made my day :)

  • @gametec_live
    @gametec_live 14 วันที่ผ่านมา

    hell yeah, another awsome video

  • @anonymousperson.5528
    @anonymousperson.5528 14 วันที่ผ่านมา

    Just wait till you make a cmam. Tbh you might even try to make a tmam (but trust me done try to make a computer with wires as they act differently off camera)

    • @KedrigernGaming
      @KedrigernGaming 14 วันที่ผ่านมา

      Looking forward to it! Expect it to be maybe a bit easier than in the first game thanks to some new mechanics but we shall see :)

  • @McSmurfy
    @McSmurfy 14 วันที่ผ่านมา

    (A cool shortcut that helps a lot is highlighting what you want to clear and press 'I', saved me time to get the correct shapes fast). Wow, I just got on TH-cam and what a surprise to see the upload😅. I have a big challenge now because I am looking at videos to try my first ever MAM, but I am building up to attempt it first🫠🤠. The auto save after some time with a lot of buildings is taking some time, so want to try not going too crazy with building (looking to compact now too).

  • @Soken50
    @Soken50 17 วันที่ผ่านมา

    You gotta love the client changing the scope of your project when you think you're almost done :D Good luck refactoring everything, thankfully you kept older versions so you might still have at least some of what you deleted along the way :x

    • @KedrigernGaming
      @KedrigernGaming 17 วันที่ผ่านมา

      Exactly why I always double or tripple the time estimates. And know that 'almost done' means, it is not yet tested, the 15 TODOs I could not solve are still there, the 'minor' bugs throughout the code are very present and basically the work is not even half way done. What's the rule? Spend 80% of the time finishing the remaining 20% of the work? At this point I feel it might be better to start from scratch. Probably much less work than major refactoring and less mind bending..?

    • @Soken50
      @Soken50 17 วันที่ผ่านมา

      ​@@KedrigernGaming Each of your farm programs should work fine with a few unlock checks on functions unlocked later. Most of the work is gonna be on stuff you haven't done yet or deleted, like polyculture, watering, creating the dictionary of unlocks that your main loop has to check for whether they're unlocked, how much they cost, what to unlock next. It's up to you whether you think all that is best done from scratch or massaged into the existing loop. Ultimately, getting down to sub 20 minutes will probably require multiple rewrites but it might be worth it to bodge a working leaderboard automation before that to get a feel for what it's gonna take in the first place.

    • @KedrigernGaming
      @KedrigernGaming 17 วันที่ผ่านมา

      I thought they would work fine with a few checks but was afraid it would create too much clutter...which would be impossible to debug lol. The thing is the current version of the code is not pretty either. So this might be a nice opportunity to make it clean? But adding a few unlock checks was my first idea indeed. I guess I'm stressing over it too much. Gotta just dive head first into it and see. Thank you for the confidence you have in me not messing this up!

    • @Soken50
      @Soken50 17 วันที่ผ่านมา

      @@KedrigernGaming Oh I'm sure you will mess up in a few cases along the way but it's part of the fun. Mostly the viewer's fun. 😉

    • @KedrigernGaming
      @KedrigernGaming 16 วันที่ผ่านมา

      I am well aware viewer retention is directly proportional to my pain. I will do my best not to disappoint!

  • @korneldekany6689
    @korneldekany6689 17 วันที่ผ่านมา

    Great job for 1k subs, you really deserve it

    • @KedrigernGaming
      @KedrigernGaming 17 วันที่ผ่านมา

      This means so much! Thank you!

  • @Squeakers09
    @Squeakers09 17 วันที่ผ่านมา

    This captures the pure energy of a developers feeling and reaction when a PM changes the requirements.

  • @realdragon
    @realdragon 17 วันที่ผ่านมา

    Yea imo that leaderboard that ununlocks everything is big f you

    • @KedrigernGaming
      @KedrigernGaming 17 วันที่ผ่านมา

      Some next level trolling

  • @gametec_live
    @gametec_live 17 วันที่ผ่านมา

    And another amazing video... Also; nice to see this channel grow, over 1k subscribers now...

    • @KedrigernGaming
      @KedrigernGaming 17 วันที่ผ่านมา

      Thank you! I hope it won't stop there.

  • @nickpucci5586
    @nickpucci5586 19 วันที่ผ่านมา

    cool game but could you provide an actual link to the game or at least say the name in the video so we know how to find it

    • @KedrigernGaming
      @KedrigernGaming 19 วันที่ผ่านมา

      I named the playlist after this game, the name is just under the video and also as a response to a few other comments asking the same question. Maybe the issue is the game having a weird name? Not sure...

  • @MorningNapalm
    @MorningNapalm 20 วันที่ผ่านมา

    Try insertion sort instead of bubble sort.

    • @KedrigernGaming
      @KedrigernGaming 20 วันที่ผ่านมา

      Wouldn't the implementation be exactly the same?

    • @MorningNapalm
      @MorningNapalm 19 วันที่ผ่านมา

      @@KedrigernGaming not quite, they have similar complexity, similar implementations, but insertion sort on average moves items shorter distances, so it is a a small constant faster.

    • @MorningNapalm
      @MorningNapalm 19 วันที่ผ่านมา

      There is a nice visualiser video by udiprod.

  • @tuxino
    @tuxino 21 วันที่ผ่านมา

    Your if-sequence calculator would be faster if implemented as a binary tree.

  • @FoxSlyme
    @FoxSlyme 21 วันที่ผ่านมา

    Finally 7 Billion Humans! 😊

  • @leamir0
    @leamir0 21 วันที่ผ่านมา

    9:34 YandereDev intensifies

  • @mart3323
    @mart3323 21 วันที่ผ่านมา

    You gained a slight bit of time from the overflow, but you lost more time by making the button presser move two extra squares - especially because that happens every cycle, whereas overflows are only every so often I think the main optimizations that saved me are all related to minimizing the time when one person is waiting on another. Hints below: * Most digits are sitting idle most of the time - is there any work they could do in advance before it's their turn to increment? * The time taken for a full increment is based on when the last person finishes - writing takes a certain amount of time, so how can we ensure they start as soon as possible? My solution 1) Use mem1 to hold the *next* number in memory, so time is not wasted calculating during the increment 2.1) If it's your turn to increment, FIRST pass the message along to your neighbor (if you're about to overflow) so they can start immediately without waiting for you 2.2) Then write the number on the cube and put it back 2.3) Then call ready if you're the last one 2.4) In your free time, calculate the next number so when it's your turn again you have it ready Although.., i just had another idea that might save having to pass the message along in the first place, gonna test that

    • @mart3323
      @mart3323 21 วันที่ผ่านมา

      Extra optimizations i thought of after writing the comment that brought the time down further ------- 1) You can yell out 'ready' before you place the cube down and still just barely make it in time 2) Instead of having to tell your neighbor to start, they can wait until they see you have a 9, and then they know the next time you pick up the cube they should too! 3) Neighbors can also help each other by calling out ready for each other, so the person doing work doesn't have to Specific solution I divided the code into four roles - the counter, the first digit, the middle digits, and the last digits THE COUNTER just presses the button whenever they hear ready THE FIRST DIGIT just increments their number whenever they see the counter return MIDDLE DIGITS have two modes - if the number on their right is not 9, they are an announcer, otherwise they are a worker Announcers wait for their right neighbor to pick up the box, then yell our 'ready' a second later Workers wait for their right neighbor to pick up the box, and then increment their own THE LEFTMOST DIGIT waits for a 9 on their right, then acts like a worker - except that they call our their own ready (they have no one on their left to rely on) I may have forgotten to implement the announcer role for the leftmost digit - luckily for this level that edge case never comes up

    • @KedrigernGaming
      @KedrigernGaming 20 วันที่ผ่านมา

      I love this so much! Great job there! Gotta be honest though, I might have played this game a bit too much and all the puzzles and times I tried to optimize some are just getting mixed up. I was so sure I tried to implement the solution you suggest already and that it did not work. But maybe it was a different puzzle? Or maybe...maybe it was just in my head? Who knows... That being said, I'm actually even more happy to read your comment! Thanks <3

  • @realdragon
    @realdragon 21 วันที่ผ่านมา

    It's been hot minute since you played it. Small optimization I thought of is not to wait for worker to go back up. As soon as worker to the right goes down the other worker checks what's the number on datacube in bottom right If that number is 9 then the worker knows it's gonna overflow and can just go down and change their number. Or you could really hardcode it and make it so that 5 people on the left change their number at the right time

    • @KedrigernGaming
      @KedrigernGaming 20 วันที่ผ่านมา

      When solving this I was mentally one step behind. I wanted to check for a 0 and knew I had to let the other worker write it first. Hence waiting for him to come back. But yeah, if the worker goes down to fetch a 9..i should probably know what he's about to write lol.

  • @martijnjanssen7789
    @martijnjanssen7789 21 วันที่ผ่านมา

    I'm not that proficient with coding yet, but my first inklings are as follows: 1) do the workers have to step off the tile for the computer to read the block? If not, then you could save a lot of time by just deleting the step commands. 2) since an empty tile counts as a 0, you could save some time by just not putting down a 0 block. This should probably be accompanied with a check whether the worker to your right is holding a block or not, to confirm whether you should put yours down?

    • @mart3323
      @mart3323 21 วันที่ผ่านมา

      1) You're right, it works fine if they all stand still 2) Oh, clever - This could save not only the pickup, write, and drop, but also a calculate

  • @shavranotheferanox7809
    @shavranotheferanox7809 22 วันที่ผ่านมา

    i know im late since you already made many more videos, but you could turn the buying and planting of carots into a function, and then just put that function in the code instead of the whole thing

    • @KedrigernGaming
      @KedrigernGaming 22 วันที่ผ่านมา

      Thank you for the tip! I have done that already...partially. It always seemed like "This is the last I am gonna have to do/write this. Probably no need to make it generalize the idea." But new mechanics just kept popping up and...eh..yeah, I should optimize a bunch!

  • @UnequivocallyBored
    @UnequivocallyBored 22 วันที่ผ่านมา

    Great! Now refactor your code so the next guy can understand it and not hate his life lol

    • @KedrigernGaming
      @KedrigernGaming 22 วันที่ผ่านมา

      This is exactly what is bad with schools. You write code and know damn well no one including you is ever gonna read it again. So the quality is crap, obviously.... And you don't learn until it eventually bites you in your behind. Need to solve a few puzzles in this game so I expect to be bitten quite soon.

  • @ConanRider
    @ConanRider 23 วันที่ผ่านมา

    This might be a functional use for a bogosort. Since the dataset is always randomising itself you scan the entire field and for each plot just check the 5 positions that you can from the drone and see if they all are the same type if they are then harvest (which will harvest all 5)

    • @KedrigernGaming
      @KedrigernGaming 22 วันที่ผ่านมา

      For sure. Although even this wouldn't be great since we could possibly block certain groups of dinos from mixing. This really is just the worst sort ever, isn't it. Maybe only the Miracle Sort can beat it....or my version of Stalin sort...

    • @ConanRider
      @ConanRider 22 วันที่ผ่านมา

      @@KedrigernGaming What about if you placed dinos from where you harvested them from.

    • @KedrigernGaming
      @KedrigernGaming 22 วันที่ผ่านมา

      Could do..would have to search the grid for all spots without dinos.

  • @FoxSlyme
    @FoxSlyme 24 วันที่ผ่านมา

    20:07 this problem can be solved by using lambdas that will reroute `doAt()` to the correct function: doEverywhere(lambda: plantItem(Entities.Carrots, Items.Carrot_Seed)) doEverywhere(harvest)

    • @KedrigernGaming
      @KedrigernGaming 22 วันที่ผ่านมา

      Looking back I'm not sure why I said that. I was talking about passing a function to be called...and for some reason wanted to pass its arguments separately? Guess that's again me not knowing much about python so I thought I could only pass a reference to a function. Then later call it and supply the arguments also later.

    • @FoxSlyme
      @FoxSlyme 22 วันที่ผ่านมา

      @@KedrigernGaming yeah, and in my case we're always passing a function with no arguments, be it a regular function or a lambda that uses closure to do whatever

  • @ichigokurosaki7820
    @ichigokurosaki7820 24 วันที่ผ่านมา

    hi, would you try factorio someday? love ur vids btw

    • @KedrigernGaming
      @KedrigernGaming 24 วันที่ผ่านมา

      Thank you! It is on the list for sure :)

    • @ichigokurosaki7820
      @ichigokurosaki7820 23 วันที่ผ่านมา

      That's happy news

  • @Soken50
    @Soken50 24 วันที่ผ่านมา

    Great series so far, do you plan to compete on the leaderboard and make videos on the process, I'd love to see your version of an automated farm and how far you can optimize it :D

    • @KedrigernGaming
      @KedrigernGaming 24 วันที่ผ่านมา

      That is the ultimate goal. I will not give up! But it will be a lot of work..surprisingly.

    • @Soken50
      @Soken50 24 วันที่ผ่านมา

      @@KedrigernGaming Yay, best of luck getting down to sub 20 minutes :D

    • @KedrigernGaming
      @KedrigernGaming 22 วันที่ผ่านมา

      Thanks, gonna need it!

  • @McSmurfy
    @McSmurfy 24 วันที่ผ่านมา

    10:33 "Use item, if you for some reason can't, you are an idiot." Those are some true words and it is funny that the 'Dinosaurs' look like chicken or ducks😅.

  • @MephistoDemon
    @MephistoDemon 24 วันที่ผ่านมา

    Didn't expect this game to include dinosaurs xD

    • @KedrigernGaming
      @KedrigernGaming 24 วันที่ผ่านมา

      The ultimate farming experience!

  • @FoxSlyme
    @FoxSlyme 24 วันที่ผ่านมา

    It pains me a bit with how you make the drone wait. First of all, if you can use _pass_ keyword, it means you can do nothing instead of making the drone flip. That way, when the condition becomes satisfied, you won't have to wait for the drone to finish its flip. Second, remember 7 Billion Humans and how you converted "if-else" with 2 jumps to just "if" with a single jump? You can do the same here - while the inverted condition is true, you wait: while not can_harvest(): pass By the way, why did you stop uploading 7 Billion Humans?

    • @KedrigernGaming
      @KedrigernGaming 24 วันที่ผ่านมา

      Thank you!! I needed a keyword like 'pass' but had no idea it existed! Normally I would leave the loop empty but it wouldn't let me. It pained me too. 7 Billion Humans coming up this Friday ;)

  • @gametec_live
    @gametec_live 24 วันที่ผ่านมา

    Oh look, another video, this is going to be fun...

  • @alextrebek5237
    @alextrebek5237 25 วันที่ผ่านมา

    Managers will encourage salaries to stagnate, layoffs rise, expecting existing staff "to do more with less (AI)." ML codes worse than junior SWEs, too many hallucinations. But useful for 1st drafts Seniors who know datastructures & algos, it can't beat I see more junior SWEs becoming entrepreneurs and making $$$

  • @df15804
    @df15804 25 วันที่ผ่านมา

    Nice youtube recommendation

  • @offgridvince
    @offgridvince 25 วันที่ผ่านมา

    Everytime i scroll past this, i crave pineapple

  • @rodrigoaraujo8727
    @rodrigoaraujo8727 26 วันที่ผ่านมา

    Add comments to your code so its easier to follow

    • @KedrigernGaming
      @KedrigernGaming 26 วันที่ผ่านมา

      I tried once. It turned out to be that typical // now we harvest harvest( ) kind of thing. But I can give it another go!

  • @220SouthlandAve
    @220SouthlandAve 26 วันที่ผ่านมา

    I love how the presentation was somewhere between Conan O'Brien, Flula Borg, and an actual software developer 😂

  • @couchbrogames7499
    @couchbrogames7499 27 วันที่ผ่านมา

    1000 sub

    • @KedrigernGaming
      @KedrigernGaming 27 วันที่ผ่านมา

      What an achievement! Thanks