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😅.
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)
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...
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
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)
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.
@@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
@@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.
Oh look, another video, this is going to be fun...
Didn't expect this game to include dinosaurs xD
The ultimate farming experience!
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😅.
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)
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...
@@KedrigernGaming What about if you placed dinos from where you harvested them from.
Could do..would have to search the grid for all spots without dinos.
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
That is the ultimate goal. I will not give up! But it will be a lot of work..surprisingly.
@@KedrigernGaming Yay, best of luck getting down to sub 20 minutes :D
Thanks, gonna need it!
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)
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.
@@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
hi, would you try factorio someday?
love ur vids btw
Thank you! It is on the list for sure :)
That's happy news
Try insertion sort instead of bubble sort.
Wouldn't the implementation be exactly the same?
@@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.
There is a nice visualiser video by udiprod.