My New Favorite Idle Farming Game
Вставка
- Опубліковано 12 тра 2024
- Program and optimize a drone to automate a farm and watch it do the work for you. Collect resources to unlock better technology and become the most efficient farmer in the world. Improve your problem solving and coding skills.
Check out The Farmer was Replaced here:
-- store.steampowered.com/app/20...
#games #olexa #strategy #farming #automation #programming
Thanks for watching!
-- Extra Olexa Content - / @olexa2
-- Discord: / discord
-- Twitch: / olexastream
-- Twitter: / olexayt
-- Reddit: / olexa
-- My Nexus Gamestore: www.nexus.gg/olexa
-- UA-cam: / olexayt
-- Business Email: olexakid@gmail.com
-- Join this channel to get access to perks:
/ @olexayt
Music I Use:
-- www.bensound.com/free-music-f...
-- Spring by Ikson
-- Harris Heller Streambeats Lofi - Ігри
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.
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.
So glad the Coding With Tyler series has returned
This is so cool!!! Definitely want a full series on this
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
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
oh i HOPED youd play this one. im so excited to see where you go with it
not disappointed. great video
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!
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
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
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)
Great video! We need a part 2 (and more)!
wow thanks for making this video, looks like a great game to get someone into programming
Super cool idea, would love to see another video or two
This takes me back to coding class in school. I always made sure to colorcode my visual programs in fuchsia and lime.
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
Oh man that game looks fun, I look forward to seeing more of this!
I would love to see more of this game play.
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.
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
Rusty wants a divorce
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!
@@BeardsandBullets13 hehe, in the future we will have to program "dopamine" into our workers.
The gamers yearn for Zachtronics programming-esque games
You made me buy the game 4 days ago and i already dumped 50 hours in it and joined the awesome discord ! Thank you !
imagine if the operaters were very far into the game and tyler was basically unable to cook
this game slaps and you are very brave for coding on camera like this o7
This is brilliant, I used to learn Java, and although I never got too far, I still love the process of writing functions
liked the crash course in programming, would watch more.
The sounds of the drone kinda make a sick beat tho
Never been into code but loved watching this
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.
Looks fun, I love how it slowly gets more complicated as you play.
This video helped me remember the trial and error of coding
Need more!!! I’m learning python as a cyber security student
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
this is amazing, i want more like this
its no rusty but this will work i appreciate you tyler
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.
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
Okay this is surprisingly good revision considering it’s been ages since I’ve coded aaaa I should practice again rip
Please do more videos for this game
UA-cam has been trying to recommend this video to me. I'll finish it later.
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
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)
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
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. 👀
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.
I had to have this game after seeing this video.
Would love to see one more episode of this!
love the ep!!
typical programmer brain... trying to optimize before the code is even roughed out :)
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 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
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!
My New Favourite Idle Hydration 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.
13:00 Best moment. xd
this game looks cool
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
Rusty feels betrayed by that title immediatly
As a HPC Python programmer i need you to complete this game. Please!
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()
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
it was just slightly infuriating how you harvested the wheat twice at one time totally cutting into efficieny but good vid.
So this is the guy who invented the bogo sort algorithm ;)
Just kidding, nice video 👌
The bush
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
Your last bit of code doesnt need the last move south when in bush mode.
Yeah we remove it
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
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
But will it beat rustys retirement is the real question
What the frick
And
Makes me feel inadequate made me lmfao like it’s the wildest statement I’ve ever heard.
Why does this remind me of scribblenauts
I’m stuck on the trees
Olexa, why do you have to do this to me? I had things to do this week.
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.
but does it have vim mode?
Honestly, I like Another farming rougelike2
my favorite youtub!
Do I sense some Northernlion influence in your lingo?
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 really want to watch a python guide by you
Well boy are you in some luck lmao ua-cam.com/video/k2BEdXNdNWI/v-deo.html
@@OlexaYT I DID NOT EXPECT THIS WHAT klsdnjkadjhadjahkd
Lol I did it a few years back because I love teaching
@@OlexaYT That's awesome!!! I'm watching your videos to study python in college
Animal well, GOTY?
I bought it ^^ (even though I hate python with a passion)
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????)
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
More animal well
moooooore :D
what is Olexas day job, anyone know?
I’m a SOAR engineer
am v here for the python lesson lol
this is so wierd , I am learning but it feels like I am not... wtf
send the game to hydra pls
You are the guy from the mobile game ads who sucks at the game and wants me to get the game to be able to do better.
Quite different from any game I've seen
python is my favorite
Not having constants in upper case hurts me xD
39:25 If this works as python "range(x)" is from 0 to x-1
It’s brave of you to code live while people watch and I’m sure I’d do no better, but sitting here like a disembodied pair programmer who just has to watch you make mistakes is driving me round the bend ;-)
Where is the crossword? You forgot the crossword!
Ohh that coding hurts 🤣 Stop using do a flip all the time 🤣
But it’s fun