The following is based on my using Minetest's coding mods, not this game: Pro: You do some coding instead of just gaming Con: You aren't coding anything useful and it is really addicting
Glad to hear that! Cause I still get quite a few people tell me my code sucks 😂 I do versioning cause if I mess the code up to the point of no return I would have to write it all from scratch. Hasn’t happened but better safe than sorry 😂
It pains me a bit with how you make the drone wait. First of all, if you can use _pass_ keyword, it means you can do nothing instead of making the drone flip. That way, when the condition becomes satisfied, you won't have to wait for the drone to finish its flip. Second, remember 7 Billion Humans and how you converted "if-else" with 2 jumps to just "if" with a single jump? You can do the same here - while the inverted condition is true, you wait: while not can_harvest(): pass By the way, why did you stop uploading 7 Billion Humans?
Thank you!! I needed a keyword like 'pass' but had no idea it existed! Normally I would leave the loop empty but it wouldn't let me. It pained me too. 7 Billion Humans coming up this Friday ;)
I know I must sleep, but what about this video before that and maybe I can wake up on time for work🤔 (if Kedrigern = new video watch video If Kedrigen = video finished SLEEEEEP)
I bought game only because i dont agree with how you write code.
This is a smart marketing strategy
The following is based on my using Minetest's coding mods, not this game:
Pro: You do some coding instead of just gaming
Con: You aren't coding anything useful and it is really addicting
It's like those mobile games ads on FB where person plays so wrong
@@realdragon Haha, oh come on, why you doing him dirty?
"it so has been defined" could 1:1 be my words 🤣
So fun to watch different let's plays of thus game, yours is definitely the cleanest I've seen, I mean you even do versioning? Come on, it's a game. 😂
Glad to hear that! Cause I still get quite a few people tell me my code sucks 😂
I do versioning cause if I mess the code up to the point of no return I would have to write it all from scratch. Hasn’t happened but better safe than sorry 😂
@@KedrigernGaming I don't know how well it actually performs but it LOOKS nice 🙂👍
People only complain about the looks, so I really appreciate your comment!
Add comments to your code so its easier to follow
I tried once. It turned out to be that typical
// now we harvest
harvest( )
kind of thing. But I can give it another go!
You should consider a threshold of efficiency whereby you "re-roll" the sunflowers by replanting them when gathering slows down.
Yes! That has crossed my mind too. I am thinking replanting when maxPetals = 7 (or 6).
It pains me a bit with how you make the drone wait.
First of all, if you can use _pass_ keyword, it means you can do nothing instead of making the drone flip. That way, when the condition becomes satisfied, you won't have to wait for the drone to finish its flip.
Second, remember 7 Billion Humans and how you converted "if-else" with 2 jumps to just "if" with a single jump? You can do the same here - while the inverted condition is true, you wait:
while not can_harvest():
pass
By the way, why did you stop uploading 7 Billion Humans?
Thank you!! I needed a keyword like 'pass' but had no idea it existed! Normally I would leave the loop empty but it wouldn't let me. It pained me too.
7 Billion Humans coming up this Friday ;)
What engine are you using to code if you don't mind me asking
Anything from JetBrains :)
...except for CLion..that has always been a bit messy.
I bought this because this is infinitely more fun than leetcode
That's more like it!
I know I must sleep, but what about this video before that and maybe I can wake up on time for work🤔
(if Kedrigern = new video
watch video
If Kedrigen = video finished
SLEEEEEP)
That sounds like a legit plan!
is this the whole pvz4
Oooh that would be awesome! PvZ but with coding..
@@KedrigernGamingall my nerd dreams would become true...