Its so realistic. 15 blocks of code open at the same time, music and tutorials blairing in your ears, reading documentation religiously.
@matthewtalbot-paine79775 ай бұрын
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.
@minamagdy41265 ай бұрын
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.
@danielrhouck4 ай бұрын
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-ly7sm4 ай бұрын
@@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
@quack38913 ай бұрын
@@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.
@vince1475 ай бұрын
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_5 ай бұрын
So glad the Coding With Tyler series has returned
@melonsaway39295 ай бұрын
This is so cool!!! Definitely want a full series on this
@mcaelm5 ай бұрын
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
@miguelaiden68735 ай бұрын
Nothing will beat getting cozy on the couch and watching Oleaxa do a crossword while playing rustys retirement, though this one is good
@robertduff8775 ай бұрын
Ok thank you for your comment just found those videos and I'm hooked
@fadelfarinsqi43044 ай бұрын
@@robertduff877same
@KingRanny5 ай бұрын
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
@helicoidcyme5 ай бұрын
oh i HOPED youd play this one. im so excited to see where you go with it
@helicoidcyme5 ай бұрын
not disappointed. great video
@zelek87835 ай бұрын
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
@LupinArrow5 ай бұрын
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. 😂👌
@OlexaYT5 ай бұрын
Welcome to hell!
@hamzamotara43042 ай бұрын
@@OlexaYT where fun and forced learning is a guarantee!
@RickyRatte5 ай бұрын
This takes me back to coding class in school. I always made sure to colorcode my visual programs in fuchsia and lime.
@TUC12341Ай бұрын
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.
@Jarrod00675 ай бұрын
I love functional programming pass function names to other functions as parameters and watch the crazy unfold
@loganshaw45275 ай бұрын
That is why it is a good idea to keep main and have it run the other function names.
@decivex5 ай бұрын
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.
@HH-mf8qz5 ай бұрын
wow thanks for making this video, looks like a great game to get someone into programming
@alancrow73252 ай бұрын
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 :)
@cubesc56384 ай бұрын
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.
@scragar5 ай бұрын
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).
@robcop2play5 ай бұрын
The only exception... Grass will reset if you plant it.
@cameronfarmiloe24425 ай бұрын
@@robcop2play why dya think he's only planting bushes.. Read the code properly before you insult someone's work.
@robcop2play5 ай бұрын
@@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...
@cameronfarmiloe24425 ай бұрын
@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.
@robcop2play5 ай бұрын
@@cameronfarmiloe2442 I never said that the code in the comment had that problem. But it seems like you misunderstood my comment.
@LollyPoppiАй бұрын
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. ;)
@MxMxffin4 ай бұрын
damn, what a great game! thank you for showcasing. your way of coding is driving me into insanity though.
@gauthiers83125 ай бұрын
You made me buy the game 4 days ago and i already dumped 50 hours in it and joined the awesome discord ! Thank you !
@ascendingrules5 ай бұрын
RIP Perl. Python's good though, I guess ;) This looks fun. Did you ever get into the Zachtronics games, in particular Exapunks?
@OlexaYT5 ай бұрын
I haven’t! But I’m sure I’d enjoy them
@jackeea_5 ай бұрын
an exapunks series would go SO hard, then get backseated to hell and get like 200 views
@ItzShigeko5 ай бұрын
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)
@aaronh64895 ай бұрын
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
@lawlmatty7125 ай бұрын
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
@Ethereal_Nex-f5x4 ай бұрын
I love this game so much and I’m so glad people are finally finding it
@TisNotFlakey5 ай бұрын
Rusty wants a divorce
@iconica95165 ай бұрын
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
@inlean32245 ай бұрын
Till it falls apart
@onsewatch5 ай бұрын
this game slaps and you are very brave for coding on camera like this o7
@koreactor52045 ай бұрын
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 "
@JayTobasАй бұрын
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.
@glaev67895 ай бұрын
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
@xXpezcoolXx5 ай бұрын
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
@Unknowngalaxyfox5 ай бұрын
Oh man that game looks fun, I look forward to seeing more of this!
@bekfaststealer26605 ай бұрын
The sounds of the drone kinda make a sick beat tho
@khaledahmed91365 ай бұрын
Looks fun, I love how it slowly gets more complicated as you play.
@halftimedeus88715 ай бұрын
This is brilliant, I used to learn Java, and although I never got too far, I still love the process of writing functions
@turtlecat9095 ай бұрын
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
@marcbennett92325 ай бұрын
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.
@OlexaYT5 ай бұрын
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
@marcbennett92325 ай бұрын
@@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_5 ай бұрын
@@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.
@marcbennett92325 ай бұрын
@@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_engineered5 ай бұрын
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.
@guac19885 ай бұрын
I would love to see more of this game play.
@conscientiousobjectortolif92625 ай бұрын
I think it should do a flip at 0:0 y'know, just because.
@BeardsandBullets135 ай бұрын
I made mine do this just because of your comment. It seriously improved my mood, thanks dude!
@conscientiousobjectortolif92625 ай бұрын
@@BeardsandBullets13 hehe, in the future we will have to program "dopamine" into our workers.
@robertduff8775 ай бұрын
This video helped me remember the trial and error of coding
@CloudEpik4 ай бұрын
I just started my gamedev journey and bought this game to learn Python better because fun+learning = nice.
@bpro58485 ай бұрын
I am going to use this to teach my computer science class coding
@OlexaYT5 ай бұрын
Love that
@Manie2305 ай бұрын
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.
@sefaku37835 ай бұрын
Would love to see one more episode of this!
@dovos85725 ай бұрын
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.
@eriqthompson7575 ай бұрын
liked the crash course in programming, would watch more.
@roseravus49085 ай бұрын
The gamers yearn for Zachtronics programming-esque games
@huntershatswell21815 ай бұрын
Never been into code but loved watching this
@MrCelloRocker5 ай бұрын
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)
@Dylan52meow5 ай бұрын
Great video! We need a part 2 (and more)!
@natalynn98244 ай бұрын
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.
@OlexaYT4 ай бұрын
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 🙏
@natalynn98244 ай бұрын
He fixed at the 40 minute mark. So much better
@natalynn98244 ай бұрын
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
@OlexaYT4 ай бұрын
That’s soooo much worse than a nested for loop that just covers the entire grid lol
@natalynn98244 ай бұрын
What I’m saying is the first loop with x isn’t doing anything. Just adding indentation
@shadowofdeath80005 ай бұрын
Super cool idea, would love to see another video or two
@samuelloomis97145 ай бұрын
KZbin has been trying to recommend this video to me. I'll finish it later.
@TheMystogrigen5 ай бұрын
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.
@77Raffi775 ай бұрын
Python actually has a switch statement (match-case), but this game doesn't
@TheMystogrigen5 ай бұрын
@@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.
@OlexaYT5 ай бұрын
I’m just patiently waiting for unlocking dictionaries so I can start using them ahaha
@kaylaflemetis75702 ай бұрын
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.
@andrewsanders175 ай бұрын
Your last bit of code doesnt need the last move south when in bush mode.
@OlexaYT5 ай бұрын
Yeah we remove it
@grynte15 ай бұрын
"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
@OlexaYT5 ай бұрын
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
@grynte15 ай бұрын
@@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
@OlexaYT5 ай бұрын
Sure I guess lol
@grynte15 ай бұрын
@@OlexaYT From your favorite subscriber UwU
@iconica95165 ай бұрын
imagine if the operaters were very far into the game and tyler was basically unable to cook
@erictrinque65135 ай бұрын
typical programmer brain... trying to optimize before the code is even roughed out :)
@equious84135 ай бұрын
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. 👀
@Chalo1227905 ай бұрын
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
@__IFrease__5 ай бұрын
watching this as a devloper is a torture for me.
@OlexaYT5 ай бұрын
Good, you try coding efficiently without variables and get back to me
@__IFrease__5 ай бұрын
@@OlexaYT sory it was just my feelings, i did not wanted to be mean.
@harrygriffiths19615 ай бұрын
Maaannn i miss animal well now that shits such a fun game to watch would LOOOVE a 2-3hr ep ngl
@OlexaYT5 ай бұрын
Got a 45 minuter coming later today!
@matthewtalbot-paine79775 ай бұрын
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.
@OlexaYT5 ай бұрын
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-paine79775 ай бұрын
@@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.
@OlexaYT5 ай бұрын
The upgrades are largely inconsequential though. An idle game doesn’t have you writing hours of code haha
@matthewtalbot-paine79775 ай бұрын
@@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.
@OlexaYT5 ай бұрын
I mean sure, but you’ve barely started the game if you haven’t even done pumpkins LOL
@alexdeville11104 ай бұрын
Did it annoy anyone else how he kept going to the top left for 0,0?
@saiotrosi5 ай бұрын
Need more!!! I’m learning python as a cyber security student
@Mayb3man5 ай бұрын
its no rusty but this will work i appreciate you tyler
@atlas94675 ай бұрын
Okay this is surprisingly good revision considering it’s been ages since I’ve coded aaaa I should practice again rip
@leopendragoon44885 ай бұрын
this is amazing, i want more like this
@andrewsanders175 ай бұрын
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.
@novAviator014 ай бұрын
Micheal reeves would get addicted to this like he did with making far with computer craft
@ScamstinCrew5 ай бұрын
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.
@OlexaYT5 ай бұрын
It’s okay, we get it, you’re a front end software dev
@Skrelpoid5 ай бұрын
@@OlexaYT mfw he didn't even use async await (I'm a javascript pro, what is python????)
@frostwaffy5 ай бұрын
Please do more videos for this game
@RickyRatte5 ай бұрын
Rusty feels betrayed by that title immediatly
@bbittercoffee5 ай бұрын
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
@OlexaYT5 ай бұрын
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
@bluedude33135 ай бұрын
My New Favourite Idle Hydration Game
@HH-mf8qz5 ай бұрын
So this is the guy who invented the bogo sort algorithm ;) Just kidding, nice video 👌
@kinteyoi5 ай бұрын
it was just slightly infuriating how you harvested the wheat twice at one time totally cutting into efficieny but good vid.
@CmdrCorn5 ай бұрын
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.
@OlexaYT5 ай бұрын
Only so much I can do when I don’t have variables haha
@izme10005 ай бұрын
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
@Ryan50Ryan5 ай бұрын
I had to have this game after seeing this video.
@itspodin5 ай бұрын
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()
@ouwyukha5 ай бұрын
Is it good documentation simulator? It's so much easier to understand than most of oss
@OlexaYT5 ай бұрын
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
@robinmaurer26455 ай бұрын
As a HPC Python programmer i need you to complete this game. Please!
@lilposs985 ай бұрын
love the ep!!
@chenierjauresyabut888410 күн бұрын
Can't believe im watching this with no knowledge of coding
@danielrhouck4 ай бұрын
29:15 No, you cannot unlock that because you *already did* and then never did anything with it.
@satibel5 ай бұрын
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
@MrSongib5 ай бұрын
13:00 Best moment. xd
@Chalo1227905 ай бұрын
this game looks cool
@liamwarren11605 ай бұрын
Olexa, why do you have to do this to me? I had things to do this week.
@terryholtzmann5 ай бұрын
What the frick And Makes me feel inadequate made me lmfao like it’s the wildest statement I’ve ever heard.
@itchyt29974 ай бұрын
Can it do 2 fips
@MarcelRiegler5 ай бұрын
but does it have vim mode?
@ignore2466Ай бұрын
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
@illuminerdy4 ай бұрын
rather play minecraft with computer craft
@officialwingdingstranslato55263 ай бұрын
Factual Edit: also use SFM (super factory manager) also maybe hexcasting (it's basically programming.)
@matirion5 ай бұрын
Where is the crossword? You forgot the crossword!
@lydierayn5 ай бұрын
Honestly, I like Another farming rougelike2
@ApolloMclaren5 ай бұрын
Why does this remind me of scribblenauts
@Shivenis5 ай бұрын
Not having constants in upper case hurts me xD
@Shivenis5 ай бұрын
39:25 If this works as python "range(x)" is from 0 to x-1
@prismaturtle84575 ай бұрын
But will it beat rustys retirement is the real question