Its so realistic. 15 blocks of code open at the same time, music and tutorials blairing in your ears, reading documentation religiously.
@matthewtalbot-paine79777 ай бұрын
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.
@minamagdy41267 ай бұрын
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.
@danielrhouck7 ай бұрын
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
@Blueskies-ly7sm6 ай бұрын
@@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
@quack38915 ай бұрын
@@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.
@vince1477 ай бұрын
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.
@jackeea_7 ай бұрын
So glad the Coding With Tyler series has returned
@melonsaway39297 ай бұрын
This is so cool!!! Definitely want a full series on this
@mcaelm7 ай бұрын
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
@KingRanny7 ай бұрын
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
@miguelaiden68737 ай бұрын
Nothing will beat getting cozy on the couch and watching Oleaxa do a crossword while playing rustys retirement, though this one is good
@robertduff8777 ай бұрын
Ok thank you for your comment just found those videos and I'm hooked
@fadelfarinsqi43046 ай бұрын
@@robertduff877same
@helicoidcyme7 ай бұрын
oh i HOPED youd play this one. im so excited to see where you go with it
@helicoidcyme7 ай бұрын
not disappointed. great video
@zelek87837 ай бұрын
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
@TUC123413 ай бұрын
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.
@alancrow73254 ай бұрын
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 :)
@HH-mf8qz7 ай бұрын
wow thanks for making this video, looks like a great game to get someone into programming
@RickyRatte7 ай бұрын
This takes me back to coding class in school. I always made sure to colorcode my visual programs in fuchsia and lime.
@MxMxffin6 ай бұрын
damn, what a great game! thank you for showcasing. your way of coding is driving me into insanity though.
@aaronh64897 ай бұрын
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
@gauthiers83127 ай бұрын
You made me buy the game 4 days ago and i already dumped 50 hours in it and joined the awesome discord ! Thank you !
@koreactor52047 ай бұрын
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 "
@Unknowngalaxyfox7 ай бұрын
Oh man that game looks fun, I look forward to seeing more of this!
@Jarrod00677 ай бұрын
I love functional programming pass function names to other functions as parameters and watch the crazy unfold
@loganshaw45277 ай бұрын
That is why it is a good idea to keep main and have it run the other function names.
@decivex7 ай бұрын
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.
@LollyPoppi3 ай бұрын
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. ;)
@cubesc56386 ай бұрын
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.
@xXpezcoolXx7 ай бұрын
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
@TisNotFlakey7 ай бұрын
Rusty wants a divorce
@onsewatch7 ай бұрын
this game slaps and you are very brave for coding on camera like this o7
@Ethereal_Nex6 ай бұрын
I love this game so much and I’m so glad people are finally finding it
@iconica95167 ай бұрын
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
@inlean32247 ай бұрын
Till it falls apart
@lawlmatty7127 ай бұрын
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
@LupinArrow7 ай бұрын
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. 😂👌
@OlexaYT7 ай бұрын
Welcome to hell!
@hamzamotara43044 ай бұрын
@@OlexaYT where fun and forced learning is a guarantee!
@glaev67897 ай бұрын
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
@ascendingrules7 ай бұрын
RIP Perl. Python's good though, I guess ;) This looks fun. Did you ever get into the Zachtronics games, in particular Exapunks?
@OlexaYT7 ай бұрын
I haven’t! But I’m sure I’d enjoy them
@jackeea_7 ай бұрын
an exapunks series would go SO hard, then get backseated to hell and get like 200 views
@ItzShigeko7 ай бұрын
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)
@Dylan52meow7 ай бұрын
Great video! We need a part 2 (and more)!
@scragar7 ай бұрын
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).
@robcop2play7 ай бұрын
The only exception... Grass will reset if you plant it.
@cameronfarmiloe24427 ай бұрын
@@robcop2play why dya think he's only planting bushes.. Read the code properly before you insult someone's work.
@robcop2play7 ай бұрын
@@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...
@cameronfarmiloe24427 ай бұрын
@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.
@robcop2play7 ай бұрын
@@cameronfarmiloe2442 I never said that the code in the comment had that problem. But it seems like you misunderstood my comment.
@turtlecat9097 ай бұрын
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
@khaledahmed91367 ай бұрын
Looks fun, I love how it slowly gets more complicated as you play.
@shadowofdeath80007 ай бұрын
Super cool idea, would love to see another video or two
@bpro58487 ай бұрын
I am going to use this to teach my computer science class coding
@OlexaYT7 ай бұрын
Love that
@Manie2307 ай бұрын
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.
@bekfaststealer26607 ай бұрын
The sounds of the drone kinda make a sick beat tho
@andrewsanders177 ай бұрын
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.
@sefaku37837 ай бұрын
Would love to see one more episode of this!
@halftimedeus88717 ай бұрын
This is brilliant, I used to learn Java, and although I never got too far, I still love the process of writing functions
@JayTobas3 ай бұрын
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.
@roseravus49087 ай бұрын
The gamers yearn for Zachtronics programming-esque games
@robertduff8777 ай бұрын
This video helped me remember the trial and error of coding
@iconica95167 ай бұрын
imagine if the operaters were very far into the game and tyler was basically unable to cook
@eriqthompson7577 ай бұрын
liked the crash course in programming, would watch more.
@guac19887 ай бұрын
I would love to see more of this game play.
@kaylaflemetis75704 ай бұрын
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.
@samuelloomis97147 ай бұрын
KZbin has been trying to recommend this video to me. I'll finish it later.
@dovos85727 ай бұрын
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.
@huntershatswell21817 ай бұрын
Never been into code but loved watching this
@CloudEpik7 ай бұрын
I just started my gamedev journey and bought this game to learn Python better because fun+learning = nice.
@MrCelloRocker7 ай бұрын
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)
@marcbennett92327 ай бұрын
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.
@OlexaYT7 ай бұрын
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
@marcbennett92327 ай бұрын
@@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.
@jousis_7 ай бұрын
@@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.
@marcbennett92327 ай бұрын
@@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.
@reverse_engineered7 ай бұрын
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.
@saiotrosi7 ай бұрын
Need more!!! I’m learning python as a cyber security student
@conscientiousobjectortolife7 ай бұрын
I think it should do a flip at 0:0 y'know, just because.
@OhioStateOfficialsOffice7 ай бұрын
I made mine do this just because of your comment. It seriously improved my mood, thanks dude!
@conscientiousobjectortolife7 ай бұрын
@@OhioStateOfficialsOffice hehe, in the future we will have to program "dopamine" into our workers.
@atlas94677 ай бұрын
Okay this is surprisingly good revision considering it’s been ages since I’ve coded aaaa I should practice again rip
@RickyRatte7 ай бұрын
Rusty feels betrayed by that title immediatly
@leopendragoon44887 ай бұрын
this is amazing, i want more like this
@andrewsanders177 ай бұрын
Your last bit of code doesnt need the last move south when in bush mode.
@OlexaYT7 ай бұрын
Yeah we remove it
@Chalo1227907 ай бұрын
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
@alexdeville11106 ай бұрын
Did it annoy anyone else how he kept going to the top left for 0,0?
@Mayb3man7 ай бұрын
its no rusty but this will work i appreciate you tyler
@__IFrease__7 ай бұрын
watching this as a devloper is a torture for me.
@OlexaYT7 ай бұрын
Good, you try coding efficiently without variables and get back to me
@__IFrease__7 ай бұрын
@@OlexaYT sory it was just my feelings, i did not wanted to be mean.
@equious84137 ай бұрын
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. 👀
@TheMystogrigen7 ай бұрын
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.
@77Raffi777 ай бұрын
Python actually has a switch statement (match-case), but this game doesn't
@TheMystogrigen7 ай бұрын
@@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.
@OlexaYT7 ай бұрын
I’m just patiently waiting for unlocking dictionaries so I can start using them ahaha
@erictrinque65137 ай бұрын
typical programmer brain... trying to optimize before the code is even roughed out :)
@grynte17 ай бұрын
"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
@OlexaYT7 ай бұрын
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
@grynte17 ай бұрын
@@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
@OlexaYT7 ай бұрын
Sure I guess lol
@grynte17 ай бұрын
@@OlexaYT From your favorite subscriber UwU
@frostwaffy7 ай бұрын
Please do more videos for this game
@novAviator016 ай бұрын
Micheal reeves would get addicted to this like he did with making far with computer craft
@harrygriffiths19617 ай бұрын
Maaannn i miss animal well now that shits such a fun game to watch would LOOOVE a 2-3hr ep ngl
@OlexaYT7 ай бұрын
Got a 45 minuter coming later today!
@natalynn98246 ай бұрын
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.
@OlexaYT6 ай бұрын
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 🙏
@natalynn98246 ай бұрын
He fixed at the 40 minute mark. So much better
@natalynn98246 ай бұрын
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
@OlexaYT6 ай бұрын
That’s soooo much worse than a nested for loop that just covers the entire grid lol
@natalynn98246 ай бұрын
What I’m saying is the first loop with x isn’t doing anything. Just adding indentation
@lilposs987 ай бұрын
love the ep!!
@MrSongib7 ай бұрын
13:00 Best moment. xd
@HH-mf8qz7 ай бұрын
So this is the guy who invented the bogo sort algorithm ;) Just kidding, nice video 👌
@Ryan50Ryan7 ай бұрын
I had to have this game after seeing this video.
@kinteyoi7 ай бұрын
it was just slightly infuriating how you harvested the wheat twice at one time totally cutting into efficieny but good vid.
@matthewtalbot-paine79777 ай бұрын
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.
@OlexaYT7 ай бұрын
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
@matthewtalbot-paine79777 ай бұрын
@@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.
@OlexaYT7 ай бұрын
The upgrades are largely inconsequential though. An idle game doesn’t have you writing hours of code haha
@matthewtalbot-paine79777 ай бұрын
@@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.
@OlexaYT7 ай бұрын
I mean sure, but you’ve barely started the game if you haven’t even done pumpkins LOL
@bluedude33137 ай бұрын
My New Favourite Idle Hydration Game
@ouwyukha7 ай бұрын
Is it good documentation simulator? It's so much easier to understand than most of oss
@OlexaYT7 ай бұрын
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
@CmdrCorn7 ай бұрын
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.
@OlexaYT7 ай бұрын
Only so much I can do when I don’t have variables haha
@robinmaurer26457 ай бұрын
As a HPC Python programmer i need you to complete this game. Please!
@danielrhouck7 ай бұрын
29:15 No, you cannot unlock that because you *already did* and then never did anything with it.
@ScamstinCrew7 ай бұрын
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.
@OlexaYT7 ай бұрын
It’s okay, we get it, you’re a front end software dev
@Skrelpoid7 ай бұрын
@@OlexaYT mfw he didn't even use async await (I'm a javascript pro, what is python????)
@bbittercoffee7 ай бұрын
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
@OlexaYT7 ай бұрын
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
@MarcelRiegler7 ай бұрын
but does it have vim mode?
@Chalo1227907 ай бұрын
this game looks cool
@chenierjauresyabut88842 ай бұрын
Can't believe im watching this with no knowledge of coding
@liamwarren11607 ай бұрын
Olexa, why do you have to do this to me? I had things to do this week.
@itchyt29976 ай бұрын
Can it do 2 fips
@alexkaplan11367 ай бұрын
Do I sense some Northernlion influence in your lingo?
@TheDistur7 ай бұрын
The bush
@izme10007 ай бұрын
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
@Shivenis7 ай бұрын
Not having constants in upper case hurts me xD
@Shivenis7 ай бұрын
39:25 If this works as python "range(x)" is from 0 to x-1
@itspodin7 ай бұрын
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()
@prismaturtle84577 ай бұрын
But will it beat rustys retirement is the real question
@matirion7 ай бұрын
Where is the crossword? You forgot the crossword!
@andrewmcbride24597 ай бұрын
I’m stuck on the trees
@satibel7 ай бұрын
having a condition for the quantity of items and just manually modifying it every time instead of having one for every item pains me greatly
@terryholtzmann7 ай бұрын
What the frick And Makes me feel inadequate made me lmfao like it’s the wildest statement I’ve ever heard.
@ignore24663 ай бұрын
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