There is no way this requires more than 1 block of code unless maybe you want a block to reset the current position I suppose. Just add a command for each block and move through them all so each block has a section of code specifically for that block. When you expand just add in those new blocks. If you want to replace 1 of the crops with another just replace the plant line from that block.
I don't quite understand what you're saying. I can say, from my experience in another game (one where the player, unlike here, has agency to interact directly with resource gathering) that having a bunch of utility code can be very helpful for player experience. Here, it seems useful to have multiple "modes" (read: blocks) to at least ease the mental strain for programming through some manual handling, at least at first while you fet the hang of what is to be balanced. To be clear, it's absolutely possible to play the game with one block (given no multi-"threading" potential), just as it's possible to write a whole OS in one file.
Never noticing that your code is confused because you put the same thing at the start and end of your loop… 40:25 I think this video taught me the advantage of pair programming more than anything else. That code was bugging me since you wrote it, even though you had a reason at the time. Having a second set of eyes really helps sometimes
@@matthewtalbot-paine7977 you run multiple blocks of code because there’s different behaviors between plants pumpkins gather together for example a 3x3 is 3x3x3 for an outcome of 27 instead of 9
@@matthewtalbot-paine7977 tbf this video only showcases the first three crops, all of which are super easy since like you said, you can just polymorph all of the functions and then you now have zero issue because they all have simple mechanics. You have to unlock those later down the line though so you have to farm pumpkins and tree's, tree's which require not having a similar tree crop nearby for maximum growth and pumpkins which can produce a multiplication of the number of pumpkins in a square (more pumpkins per harvest basically), and then sunflowers, which if you attempt to harvest arbitrarily will nuke the farm and require you to go for the highest pedal count.
This was such a fun video! I always enjoy when Tyler shows a bit of his programming knowledge. Tyler constantly wanting to do things he already knew but the game needing it to be unlocked first was funny
Same, I made a for_all(f) function which visits every plot and runs function 'f' on it. This allows me to quickly clear every plot with 'for_all(harvest)' for example. And that's only the beginning.
Actually a first game that caught me so much Im probably gonna buy it. Thank you for your work of sharing these really good titles. I have never used any programing language in my life so atleast Im gonna learn something new without the pain and misery that comes with it. :D
Hey man, I have never coded, but I have watched orbital potato plenty. I got this game and got to pumpkins/sunflowers by myself and felt a bit proud, went around to find some tutorials or play through to compare how bad my code is, but I found you and now I guess I’m relearning how to play this game and learning how to code while I redo all my farming methods. Thank you so much for making this a tutorial and play through,this is a game that’ll make me pour through all of your videos to understand how to code.
Just found this game and immediately had to find someone to watch it while I play. I am so happy you played this and have a number of videos out now. I have enjoyed watching a lot of your videos and will be watching these all the way through :)
11:00 it didn't harvest twice, he plant grass after the grass itself start growing, grass don't have to be planted, so if you want to switch, plant once before the loop. ;)
Some advice, at around 35 minutes it starts getting a bit chaotic. Try and simply your original code, start by sorting out the movement, trying to get the most efficient movement in covering all 9 blocks. Then you input the the harvest function for each of the 9 blocks. You then build a second code script that plants bushes. This way you do 9 blocks of grass and focus on cash, once you are happy with your cash, you stop the script and focus on the wood. Once enough wood, you do the same with carrots. later when you have more operators, you can 3x3x3, grass, wood and carrots all on the same 3x3x3 blocks.
Thanks for the video....just bought the game i love idle games....farming...drones...and python....so combining them is masterpiece. Never would of found this
Love the fact that games can introduce the world of programing. Love your explanation of what you are doing and also mistakes, I hope more game like this comes out 😊 it remind me of the game " Human Resource Machine "
Never seen this dude a day in my life. Never even contimplated programming for shit. Recomendeds somehow still on point and with literally no money i need this game in my life yesturday. Yes, thank you, i will now sub to the channel - and im only 20mins in. ❤️👌 Edit: having now looked at the channel lol i know see why they’re recogmended. Nerdy roguelike, puzzle games chaoes ummm …. YES PLZ. 😂👌
I think if I had coding class like that I wouldn’t have dropped coding. I sucked so hard at coding that during exams I would just do ascii art instead of the actual work cause I didn’t even knew where to start. I of course got zero points.
You know I bought it today, played a little...but I got mad writing "East" or "West" so I've set variables like "Up = North" at the start of a command window so whenever I write "move(up)" it goes North
Honestly, a series where you just keep working on code and explain how things work and your reasoning process and testing would be a very fun thing to watch Edit: I have been blessed.
I love this. I might get this game as I want to go into game developing, and learning python while playing an 'idle' game seems like so much fun! the amount of little things I'd have open though omg it's gonna be chaotic
Python hurts my brain 😭 I like C++ WAY better Learning Python with any pre existing programming knowledge is near impossible 🙏 (Or I'm just straight up stupid)
honesty, as a stupid idiot, coding and coding games will always interest me being able to turn some thing into an ultra automation that has a backup for every scenario in existence makes you feel smart
Just FYI planting doesn't seem to do anything if the plant is already growing, so you can get away with something like: ``` while true: if can_harvest(): harvest(); if num_items(Items.Wood) < num_items(Items.Hay): plant(Entities.Bush) move(South) ``` This causes resources to be more or less balanced, if you get more hay than wood it'll plant bushes until the opposite is true, after which it'll just be harvesting hay again(after the existing wood gets collected anyway). No need for a variable or tracking time(since it'll just keep looping until it's time to harvest without even needing a flip to pass time).
@@cameronfarmiloe2442 I didn't insult anything. I just stated a fact. And the code in the video does that exact thing. Just don't try to be 3rd party insulted...
@robcop2play it's a phrase, no need to get so butt hurt about it. It's not a fact tho is it, cuz it's not an exception to this guys code. He wrote it knowing that factor was in play and took that in mind. I'm not getting 3rd party insulted, just correcting you.
I watched the thumbnail preview, saw coding window. Clicked video got game title and instantly bought it. Then I found out it was Python. As someone who only knows C#, I am now learning Python. RIP Switch statements, viva la dictionaries. It is a really good exercise for learning how to make your own libraries. And refactoring.
I never understood why programing used top left as 0,0 rather than bottom left like mathematics. also if you continue this, dont forget about the clear() function. its helped me out quite a bit. yeah idle game is not a great moniker. I havent got to the end yet, but I believe the end goal is to create one program to unlock everything, from start to finish as fast as possible... I assume thats what the leaderboards are for.
It’s bc a grid is just a 2d array and to index arrays leaves you with 0,0 in the top left. Array = [ [ 1, 2, 3], [4. 5, 6], [7, 8, 9] ] Array at position 0, 0 is 1, or the top left of the grid
@@OlexaYT yeah I get that. but when they first started making arrays, why did they use 0,0 in the top left. they could just have easily designated 0,0 in the bottom left like mathematics.
@@marcbennett9232 an array is closer to a matrix, not a coordinate system. Math matrixes also have 0,0(,0,...0) to the top left. In 2d/3d coordinate systems also, 0,0,(0) is not usually in the bottom left. It is in the center. But when we want to show only positive, we cut it like that. It depends.
@@jousis_ yeah I understand the center bit, but we were discussing positive numbers. it has been quite a while since I learned about matrixes in high school. I dont believe ive ever graphed them, or if I have I dont recall. ok so then the question is why does a matrix in mathematics start with 0,0 in the top left, when they already had a perfectly good coordinate system? is it because we read left to right, top to bottom or another reason? sorry if this is annoying anyone, im genuinely curious here lol.
It's just a convention. There is no obviously correct answer, so everyone picks their own. Graphics chose top left, possibly because that's how old CRT TVs did it. Why did they choose it? No clue.
Unironically a great game. Fun to just mess around with some basic python, complex enough to make you think and come up with new solutions. Looking at you, Pumpkins. 👀
Super important rule in coding is to never repeat code. For example there never should have been a harvest() or move(north) more than once in a loop. You should move, try to harvest if possible, then decide what to plant.
If you want more tips, you don’t need two nested for loops. It could be While Move east For loop Move north Do stuff Typing on phone, but I think that makes sense
Well the game can be as idle as you make it haha. I havent play the game but you can plant in infinite loops, so that is not a real problem in here. Then plant each line or row one of the items, and pretty sure you had a function to get status of plants so you can do loops of 1 until the others are ready
"i do this as my dayjob" *automates the game the least amount possible* "we should make different panels for each thing" no.. just.. you should automate making all of the plants which yk.. would make it an idle game xD
I mean, that’s not really the most efficient way to do it. Being able to control what we get to fulfill unlocks is way more valuable. Otherwise we’d end up with excessive amounts of a material we don’t need
@@OlexaYT That's quiet literally what the command to see how much of each resource oyu have is for, which again would be automatable with you only having to change 1 number x3
I feel like the developer added do_a_flip() so they had something to mention in the examples without the line affecting the progress of the game, and that's awesome
I'm not saying "Tyler bad and stupid why not do this?", I don't even code But you could make rows that have a specific type of plant that only grows there, one for grass, another for bush and the other for carrots Something like "if(get_pos_x() = 0) if can_harvest() harvest() else move(South) if can_harvest() harvest() else move(South) if can_harvest() harvest() else move(South) move(East)" And then slightly alter the code to add in "plant(Entities.Bush" or "till" and "plant(Entities.Carrot_seed)" But this would only work with the 3x3 and you'd need to add in a loop that would keep itself in line until it went all the way down and then it'd move to the top and begin the next stage, and I think you would need variables for that? To keep count of how many times the drone went south and how many times it could go with the "in range" bit? Without any testing I really just get lost but I think this would really add to the automation of it all since at the end you said this wasn't really an idle game
yeah i think the better approach is to just have different scripts for each plant and that way you can run it for what you need at a certain time but this is definitely cool
It is an idle game you just aren't playing it that way I've got mine setup to harvest then plant bush then move North 4 times (I'm on 4x4) then move East and do the same planting carrots with an additional buying of seeds then it does 2 columns of just grass so just harvest and move. It's been running over night so I think I'm probably loaded by now although admittedly I haven't got pumpkins yet.
Yeah but collecting a million of 3 resources isn’t… doing anything for you lol. In an idle game that would help you progress, in this it’s just hoarding resources
@@OlexaYT No it isn't, all the upgrades require those resources, of course they require other resources as well but when I go and unlock those ones the fact that I'll have plenty of the other resources will allow me to focus on the new resource production and I'm sure the trading thing isn't going to just be for carrot seeds.
@@OlexaYT lol hours of code. Took me like 5 minutes the rest of the time I was idle hence why it is an idle game imo. The upgrades and unlocks are literally the only progression of the game.
Short script I came up with for a 4x4 plot that balances hay, wood, and carrots. Make sure to have the entire plot tilled beforehand. # balanced hay wood carrot while True: for i in range(get_world_size()): move(North) if get_pos_y() != 0 and get_pos_y() != 2 and get_pos_x() != 1 and get_pos_x() != 3: if can_harvest(): harvest() plant(Entities.Tree) elif get_pos_y() != 1 and get_pos_y() != 3 and get_pos_x() != 0 and get_pos_x() != 2: if can_harvest(): harvest() plant(Entities.Tree) elif get_pos_x()
this hurts. Leverage the fact it has passive failure on tasks. No need to check if can harvest. Just harvest then plant. there are soo many more optimizations.
It's fun and cool and good and I enjoyed it, but I really thought you would flex on us with the ultimate code. I guess the unlocks kinda mess that up right off the bat though.
Its so realistic. 15 blocks of code open at the same time, music and tutorials blairing in your ears, reading documentation religiously.
There is no way this requires more than 1 block of code unless maybe you want a block to reset the current position I suppose. Just add a command for each block and move through them all so each block has a section of code specifically for that block. When you expand just add in those new blocks. If you want to replace 1 of the crops with another just replace the plant line from that block.
I don't quite understand what you're saying. I can say, from my experience in another game (one where the player, unlike here, has agency to interact directly with resource gathering) that having a bunch of utility code can be very helpful for player experience. Here, it seems useful to have multiple "modes" (read: blocks) to at least ease the mental strain for programming through some manual handling, at least at first while you fet the hang of what is to be balanced. To be clear, it's absolutely possible to play the game with one block (given no multi-"threading" potential), just as it's possible to write a whole OS in one file.
Never noticing that your code is confused because you put the same thing at the start and end of your loop…
40:25 I think this video taught me the advantage of pair programming more than anything else. That code was bugging me since you wrote it, even though you had a reason at the time. Having a second set of eyes really helps sometimes
@@matthewtalbot-paine7977 you run multiple blocks of code because there’s different behaviors between plants pumpkins gather together for example a 3x3 is 3x3x3 for an outcome of 27 instead of 9
@@matthewtalbot-paine7977 tbf this video only showcases the first three crops, all of which are super easy since like you said, you can just polymorph all of the functions and then you now have zero issue because they all have simple mechanics. You have to unlock those later down the line though so you have to farm pumpkins and tree's, tree's which require not having a similar tree crop nearby for maximum growth and pumpkins which can produce a multiplication of the number of pumpkins in a square (more pumpkins per harvest basically), and then sunflowers, which if you attempt to harvest arbitrarily will nuke the farm and require you to go for the highest pedal count.
10/10 title. The rest of my youtube recommended page didn't even have time to load, never clicked on a video so fast in my life.
This is so cool!!! Definitely want a full series on this
So glad the Coding With Tyler series has returned
This was such a fun video! I always enjoy when Tyler shows a bit of his programming knowledge. Tyler constantly wanting to do things he already knew but the game needing it to be unlocked first was funny
Nothing will beat getting cozy on the couch and watching Oleaxa do a crossword while playing rustys retirement, though this one is good
Ok thank you for your comment just found those videos and I'm hooked
@@robertduff877same
Just started learning python (and just coding in general) and this is honestly helping solidify a lot of the stuff I’ve been learning. Thanks Olexa
oh i HOPED youd play this one. im so excited to see where you go with it
not disappointed. great video
This takes me back to coding class in school. I always made sure to colorcode my visual programs in fuchsia and lime.
I love functional programming
pass function names to other functions as parameters and watch the crazy unfold
That is why it is a good idea to keep main and have it run the other function names.
Same, I made a for_all(f) function which visits every plot and runs function 'f' on it. This allows me to quickly clear every plot with 'for_all(harvest)' for example. And that's only the beginning.
Actually a first game that caught me so much Im probably gonna buy it. Thank you for your work of sharing these really good titles.
I have never used any programing language in my life so atleast Im gonna learn something new without the pain and misery that comes with it. :D
Hey man, I have never coded, but I have watched orbital potato plenty. I got this game and got to pumpkins/sunflowers by myself and felt a bit proud, went around to find some tutorials or play through to compare how bad my code is, but I found you and now I guess I’m relearning how to play this game and learning how to code while I redo all my farming methods. Thank you so much for making this a tutorial and play through,this is a game that’ll make me pour through all of your videos to understand how to code.
Just found this game and immediately had to find someone to watch it while I play. I am so happy you played this and have a number of videos out now. I have enjoyed watching a lot of your videos and will be watching these all the way through :)
wow thanks for making this video, looks like a great game to get someone into programming
11:00 it didn't harvest twice, he plant grass after the grass itself start growing, grass don't have to be planted, so if you want to switch, plant once before the loop. ;)
Some advice, at around 35 minutes it starts getting a bit chaotic. Try and simply your original code, start by sorting out the movement, trying to get the most efficient movement in covering all 9 blocks. Then you input the the harvest function for each of the 9 blocks. You then build a second code script that plants bushes. This way you do 9 blocks of grass and focus on cash, once you are happy with your cash, you stop the script and focus on the wood. Once enough wood, you do the same with carrots. later when you have more operators, you can 3x3x3, grass, wood and carrots all on the same 3x3x3 blocks.
Thanks for the video....just bought the game i love idle games....farming...drones...and python....so combining them is masterpiece. Never would of found this
I love this game so much and I’m so glad people are finally finding it
Love the fact that games can introduce the world of programing. Love your explanation of what you are doing and also mistakes, I hope more game like this comes out 😊 it remind me of the game " Human Resource Machine "
You made me buy the game 4 days ago and i already dumped 50 hours in it and joined the awesome discord ! Thank you !
damn, what a great game! thank you for showcasing. your way of coding is driving me into insanity though.
Never seen this dude a day in my life. Never even contimplated programming for shit. Recomendeds somehow still on point and with literally no money i need this game in my life yesturday. Yes, thank you, i will now sub to the channel - and im only 20mins in. ❤️👌
Edit: having now looked at the channel lol i know see why they’re recogmended. Nerdy roguelike, puzzle games chaoes ummm …. YES PLZ. 😂👌
Welcome to hell!
@@OlexaYT where fun and forced learning is a guarantee!
Looks fun, I love how it slowly gets more complicated as you play.
holy good lord, a dev that actually wants to help the next generation of coders get started! Thats a cause I can ABSOLUTELY get behind
I am going to use this to teach my computer science class coding
Love that
I think if I had coding class like that I wouldn’t have dropped coding. I sucked so hard at coding that during exams I would just do ascii art instead of the actual work cause I didn’t even knew where to start. I of course got zero points.
Oh man that game looks fun, I look forward to seeing more of this!
You know I bought it today, played a little...but I got mad writing "East" or "West"
so I've set variables like "Up = North" at the start of a command window
so whenever I write "move(up)" it goes North
Honestly, a series where you just keep working on code and explain how things work and your reasoning process and testing would be a very fun thing to watch
Edit: I have been blessed.
This is brilliant, I used to learn Java, and although I never got too far, I still love the process of writing functions
The sounds of the drone kinda make a sick beat tho
this game slaps and you are very brave for coding on camera like this o7
This video helped me remember the trial and error of coding
i never thought i’d be so invested in a game where the gameplay is dictated by coding. great video as always, my gaming youtuber goat
The gamers yearn for Zachtronics programming-esque games
I would love to see more of this game play.
I love this. I might get this game as I want to go into game developing, and learning python while playing an 'idle' game seems like so much fun! the amount of little things I'd have open though omg it's gonna be chaotic
I think it should do a flip at 0:0 y'know, just because.
I made mine do this just because of your comment. It seriously improved my mood, thanks dude!
@@OhioStateOfficialsOffice hehe, in the future we will have to program "dopamine" into our workers.
this game is so much bigger than what he has shown. also there are some challanges that are really hard if you don't know how to write algorithm yet.
RIP Perl. Python's good though, I guess ;) This looks fun.
Did you ever get into the Zachtronics games, in particular Exapunks?
I haven’t! But I’m sure I’d enjoy them
an exapunks series would go SO hard, then get backseated to hell and get like 200 views
Python hurts my brain 😭
I like C++ WAY better
Learning Python with any pre existing programming knowledge is near impossible 🙏 (Or I'm just straight up stupid)
honesty, as a stupid idiot, coding and coding games will always interest me
being able to turn some thing into an ultra automation that has a backup for every scenario in existence makes you feel smart
Till it falls apart
liked the crash course in programming, would watch more.
Never been into code but loved watching this
RUclips has been trying to recommend this video to me. I'll finish it later.
I just started my gamedev journey and bought this game to learn Python better because fun+learning = nice.
This looks super cool, i wish there was a mobile version of this so i could play and learn coding at work in my downtime.
Rusty wants a divorce
Would love to see one more episode of this!
Great video! We need a part 2 (and more)!
Just FYI planting doesn't seem to do anything if the plant is already growing, so you can get away with something like:
```
while true:
if can_harvest():
harvest();
if num_items(Items.Wood) < num_items(Items.Hay):
plant(Entities.Bush)
move(South)
```
This causes resources to be more or less balanced, if you get more hay than wood it'll plant bushes until the opposite is true, after which it'll just be harvesting hay again(after the existing wood gets collected anyway).
No need for a variable or tracking time(since it'll just keep looping until it's time to harvest without even needing a flip to pass time).
The only exception... Grass will reset if you plant it.
@@robcop2play why dya think he's only planting bushes.. Read the code properly before you insult someone's work.
@@cameronfarmiloe2442 I didn't insult anything. I just stated a fact. And the code in the video does that exact thing. Just don't try to be 3rd party insulted...
@robcop2play it's a phrase, no need to get so butt hurt about it. It's not a fact tho is it, cuz it's not an exception to this guys code. He wrote it knowing that factor was in play and took that in mind. I'm not getting 3rd party insulted, just correcting you.
@@cameronfarmiloe2442 I never said that the code in the comment had that problem. But it seems like you misunderstood my comment.
I watched the thumbnail preview, saw coding window. Clicked video got game title and instantly bought it. Then I found out it was Python. As someone who only knows C#, I am now learning Python. RIP Switch statements, viva la dictionaries.
It is a really good exercise for learning how to make your own libraries. And refactoring.
Python actually has a switch statement (match-case), but this game doesn't
@@77Raffi77 I discovered that too, but really, a dictionary isn't that far of a stretch. Well, it is pretty far down the upgrade tree.
I’m just patiently waiting for unlocking dictionaries so I can start using them ahaha
Super cool idea, would love to see another video or two
Need more!!! I’m learning python as a cyber security student
Ahh dang. Farming and Programming?? Dope. Anything to help teach folks how to code. (It's no Rusty's and python, but def the next best thing)
I never understood why programing used top left as 0,0 rather than bottom left like mathematics. also if you continue this, dont forget about the clear() function. its helped me out quite a bit. yeah idle game is not a great moniker. I havent got to the end yet, but I believe the end goal is to create one program to unlock everything, from start to finish as fast as possible... I assume thats what the leaderboards are for.
It’s bc a grid is just a 2d array and to index arrays leaves you with 0,0 in the top left.
Array = [ [ 1, 2, 3], [4. 5, 6], [7, 8, 9] ]
Array at position 0, 0 is 1, or the top left of the grid
@@OlexaYT yeah I get that. but when they first started making arrays, why did they use 0,0 in the top left. they could just have easily designated 0,0 in the bottom left like mathematics.
@@marcbennett9232 an array is closer to a matrix, not a coordinate system.
Math matrixes also have 0,0(,0,...0) to the top left.
In 2d/3d coordinate systems also, 0,0,(0) is not usually in the bottom left. It is in the center. But when we want to show only positive, we cut it like that. It depends.
@@jousis_ yeah I understand the center bit, but we were discussing positive numbers. it has been quite a while since I learned about matrixes in high school. I dont believe ive ever graphed them, or if I have I dont recall. ok so then the question is why does a matrix in mathematics start with 0,0 in the top left, when they already had a perfectly good coordinate system? is it because we read left to right, top to bottom or another reason?
sorry if this is annoying anyone, im genuinely curious here lol.
It's just a convention. There is no obviously correct answer, so everyone picks their own. Graphics chose top left, possibly because that's how old CRT TVs did it. Why did they choose it? No clue.
its no rusty but this will work i appreciate you tyler
Micheal reeves would get addicted to this like he did with making far with computer craft
Unironically a great game. Fun to just mess around with some basic python, complex enough to make you think and come up with new solutions. Looking at you, Pumpkins. 👀
Super important rule in coding is to never repeat code. For example there never should have been a harvest() or move(north) more than once in a loop. You should move, try to harvest if possible, then decide what to plant.
Thank you for teaching me, someone who has a degree in computer security and works in the industry coding Python for a living, how to code 🙏
He fixed at the 40 minute mark. So much better
If you want more tips, you don’t need two nested for loops. It could be
While
Move east
For loop
Move north
Do stuff
Typing on phone, but I think that makes sense
That’s soooo much worse than a nested for loop that just covers the entire grid lol
What I’m saying is the first loop with x isn’t doing anything. Just adding indentation
this is amazing, i want more like this
Maaannn i miss animal well now that shits such a fun game to watch would LOOOVE a 2-3hr ep ngl
Got a 45 minuter coming later today!
imagine if the operaters were very far into the game and tyler was basically unable to cook
Okay this is surprisingly good revision considering it’s been ages since I’ve coded aaaa I should practice again rip
13:00 Best moment. xd
Did it annoy anyone else how he kept going to the top left for 0,0?
Your last bit of code doesnt need the last move south when in bush mode.
Yeah we remove it
watching this as a devloper is a torture for me.
Good, you try coding efficiently without variables and get back to me
@@OlexaYT sory it was just my feelings, i did not wanted to be mean.
Well the game can be as idle as you make it haha.
I havent play the game but you can plant in infinite loops, so that is not a real problem in here.
Then plant each line or row one of the items, and pretty sure you had a function to get status of plants so you can do loops of 1 until the others are ready
"i do this as my dayjob" *automates the game the least amount possible* "we should make different panels for each thing" no.. just.. you should automate making all of the plants which yk.. would make it an idle game xD
I mean, that’s not really the most efficient way to do it. Being able to control what we get to fulfill unlocks is way more valuable. Otherwise we’d end up with excessive amounts of a material we don’t need
@@OlexaYT That's quiet literally what the command to see how much of each resource oyu have is for, which again would be automatable with you only having to change 1 number x3
Sure I guess lol
@@OlexaYT From your favorite subscriber UwU
I feel like the developer added do_a_flip() so they had something to mention in the examples without the line affecting the progress of the game, and that's awesome
love the ep!!
Please do more videos for this game
27:57 could you fix it by changing the else: move(south) to a else: move(east)? It would keep the exact same scan almost like a crt refresh rate.
My New Favourite Idle Hydration Game
I had to have this game after seeing this video.
I'm not saying "Tyler bad and stupid why not do this?", I don't even code
But you could make rows that have a specific type of plant that only grows there, one for grass, another for bush and the other for carrots
Something like
"if(get_pos_x() = 0)
if can_harvest()
harvest()
else move(South)
if can_harvest()
harvest()
else move(South)
if can_harvest()
harvest()
else move(South)
move(East)"
And then slightly alter the code to add in "plant(Entities.Bush" or "till" and "plant(Entities.Carrot_seed)"
But this would only work with the 3x3 and you'd need to add in a loop that would keep itself in line until it went all the way down and then it'd move to the top and begin the next stage, and I think you would need variables for that? To keep count of how many times the drone went south and how many times it could go with the "in range" bit?
Without any testing I really just get lost but I think this would really add to the automation of it all since at the end you said this wasn't really an idle game
yeah i think the better approach is to just have different scripts for each plant and that way you can run it for what you need at a certain time but this is definitely cool
It is an idle game you just aren't playing it that way I've got mine setup to harvest then plant bush then move North 4 times (I'm on 4x4) then move East and do the same planting carrots with an additional buying of seeds then it does 2 columns of just grass so just harvest and move. It's been running over night so I think I'm probably loaded by now although admittedly I haven't got pumpkins yet.
Yeah but collecting a million of 3 resources isn’t… doing anything for you lol. In an idle game that would help you progress, in this it’s just hoarding resources
@@OlexaYT No it isn't, all the upgrades require those resources, of course they require other resources as well but when I go and unlock those ones the fact that I'll have plenty of the other resources will allow me to focus on the new resource production and I'm sure the trading thing isn't going to just be for carrot seeds.
The upgrades are largely inconsequential though. An idle game doesn’t have you writing hours of code haha
@@OlexaYT lol hours of code. Took me like 5 minutes the rest of the time I was idle hence why it is an idle game imo. The upgrades and unlocks are literally the only progression of the game.
I mean sure, but you’ve barely started the game if you haven’t even done pumpkins LOL
this game looks cool
Rusty feels betrayed by that title immediatly
typical programmer brain... trying to optimize before the code is even roughed out :)
So this is the guy who invented the bogo sort algorithm ;)
Just kidding, nice video 👌
Short script I came up with for a 4x4 plot that balances hay, wood, and carrots.
Make sure to have the entire plot tilled beforehand.
# balanced hay wood carrot
while True:
for i in range(get_world_size()):
move(North)
if get_pos_y() != 0 and get_pos_y() != 2 and get_pos_x() != 1 and get_pos_x() != 3:
if can_harvest():
harvest()
plant(Entities.Tree)
elif get_pos_y() != 1 and get_pos_y() != 3 and get_pos_x() != 0 and get_pos_x() != 2:
if can_harvest():
harvest()
plant(Entities.Tree)
elif get_pos_x()
this hurts. Leverage the fact it has passive failure on tasks. No need to check if can harvest. Just harvest then plant. there are soo many more optimizations.
It’s okay, we get it, you’re a front end software dev
@@OlexaYT mfw he didn't even use async await (I'm a javascript pro, what is python????)
it was just slightly infuriating how you harvested the wheat twice at one time totally cutting into efficieny but good vid.
As a HPC Python programmer i need you to complete this game. Please!
my favorite youtub!
The bush
I think I watched about 3 minutes of this video and went to buy it, just got back from 2.4h playing the game lmfao
Honestly, I like Another farming rougelike2
It's fun and cool and good and I enjoyed it, but I really thought you would flex on us with the ultimate code. I guess the unlocks kinda mess that up right off the bat though.
Only so much I can do when I don’t have variables haha
Is it good documentation simulator? It's so much easier to understand than most of oss
It does okay. I think they’re trying to be a Python teacher but since it’s not quite Python it can make it a little wonky
Can it do 2 fips
What the frick
And
Makes me feel inadequate made me lmfao like it’s the wildest statement I’ve ever heard.
I’m stuck on the trees
Why does this remind me of scribblenauts
Can't believe im watching this with no knowledge of coding
but does it have vim mode?
Olexa, why do you have to do this to me? I had things to do this week.
Not having constants in upper case hurts me xD
39:25 If this works as python "range(x)" is from 0 to x-1
But will it beat rustys retirement is the real question
29:15 No, you cannot unlock that because you *already did* and then never did anything with it.