This is Jon's way of secretly learning how to program so he can start a new career and not have to play hours of Crusader Kings for strangers on the internet.
@Volvith6 жыл бұрын
With the amount of unpublished modding i've done for CK2, programming and CK2 are basically the same thing for me. :| ... Also, yes, of course i have terminator teddy-bear/mylittlepony centaur events. (That's not a joke. They make the black death seem positively forgiving. :)
@movingparts62706 жыл бұрын
@@Volvith I've never known I needed something so much. I'd love to have MLP and other random reference shoehorned into CK2 in the most horrifying way possible.
@ChaoticNeutralMatt6 жыл бұрын
@@Volvith I'm actually curious
@Thundahgolem6 жыл бұрын
Jon is perhaps the best advertisement for this game, as every single messy program he makes only urges me to buy the game so I can make something less messy
@TheHalffire6 жыл бұрын
This game is a fairly good example of theoretical multi threading. In the real world you need to imagine you have 8 puppies, and 8 food bowls. Two puppies decide to share a bowl; one is asleep; 4 of them are eating from their own bowls like you wanted; the last puppy has found a power cable and thinks it's food.
@ChaoticNeutralMatt6 жыл бұрын
Yes
@Lampomaniac6 жыл бұрын
And also the puppies are seperated by a wall and if they get lost on the way to their food bowl, may god be with you.
@ebbingtime6 жыл бұрын
also you're missing 8 semicolons and the puppies won't tell you where they are
@roccolombard9656 жыл бұрын
Jon, I may just be a hobbyist programmer, but your code efficiency (specifically your if statement nesting) is causing me physical pain.
@Septimus_ii6 жыл бұрын
He's used to excel where you have to use horrible nesting
@bubbadoo106 жыл бұрын
Well even less care about your shitty comment, at least they added something interesting instead of being a dick.
@codingfreak6 жыл бұрын
Yep, there were a few times where I thought "just let the control fall through and go from there". But then again everyone writes code with horrible control flow when they start programming.
@leolion9606 жыл бұрын
Efficiency is like a pain, butt.. ok. I've stepped out on this moment (as i see it): "if you see no wall ahead OR you see a void in front of you - just step into it. Everything's gonna be fiiiine! WHOA? Claire, why didn't you tell me about a hole in front???"
@KuraIthys6 жыл бұрын
It's not like the available instruction set allows anything particularly elegant. Not that anything which relies on large sections of alternate code paths is ever going to be all that elegant.
@Rhetam6 жыл бұрын
To quote Claire: "Jon, no!"
@ManyATrueNerd6 жыл бұрын
This all happened while she was on vacation, so she couldn't stop it :D
@physical25646 жыл бұрын
that needs a muhahahaaa after it Jon
@Rush22016 жыл бұрын
When the Claire is away the Jon will play.
@CloakedC6 жыл бұрын
As a programmer, I am quite proud of your learning progress from all the different programming games Jon
@mrfurious0186 жыл бұрын
As someone who knows nothing about programming Im always amazed watching him solve these pretty handily.
@minscandboo97496 жыл бұрын
Another programming game... This can only go well...
@badatnamesrea52176 жыл бұрын
Minsc And Boo and it did
@Atropos1486 жыл бұрын
It actually went better than I expected
@logan86386 жыл бұрын
Hmm
@princeamongkings3436 жыл бұрын
How is Boo doing by the by?
@ze_rubenator6 жыл бұрын
I'm a huge fan of Human Resource Machine and other zachlikes, so naturally I bought this game literally the second it launched. Yes, literally. It's great, just like HRM, but one level of abstraction higher, so to speak. I already played about half of it. Highly recommended to anyone who likes HRM, Opus Magnum, TIS-100 or other such games. Now, to go watch Jon make the most hideous abominations of spaghetti code the world has ever seen. I even bought sweets specifically for this occasion.
@enjoythelife16 жыл бұрын
Jon be like: "WOW, if is amazing, it allows you to do basic logic stuff" I actually love seing him being completely amazed by stuff that are basic to be. BRILLIANT!
@DisKorruptd6 жыл бұрын
yes, but making games about the basic logic stuff is the impressive part,
@enjoythelife16 жыл бұрын
Actually, I love these games and I acknowledge those are nor simple for every body. The game is impressive and takes a lot of work to put up. But it is still funny to see how Jon sees some basic programming concept like if statements and gets all exited while I take it for granted. It is amazing and fun. The game is impressing, and Jon is awesome.
@robingrimm34436 жыл бұрын
I was so irritated when I played Human Resources because there was no ‘if’ function
@entropiCCycles6 жыл бұрын
I mean, they did introduce a "jump if zero" partway through.
@enjoythelife16 жыл бұрын
@@entropiCCycles actually, I realize Human Resources was assembly like, but 7 billion humans us actually higher level(c, java, ...)
@Blubb3rbub6 жыл бұрын
Soo... you excel at Excel?
@maximthemagnificent6 жыл бұрын
Friend's eleven-year-old went to Lego robot camp this Summer and perhaps this (or the first one) might make a good next step for them.
@AndreiTache6 жыл бұрын
I don’t really recommend the first one unless they are really good at math. (I still really enjoyed it though, and this one looks just as fun, except you don’t need a Ph. D to play :D )
@Toylore6 жыл бұрын
This is very challenging to watch as an actual programmer.
@totalmetaljacket7896 жыл бұрын
Seconded.
@nialltownley17886 жыл бұрын
Painful indeed
@alexandereastwood16 жыл бұрын
I disagree he did very well with his code, and came up with interesting ways to solve the problems, it even if I knew a better way his weren't that bad. Disclaimer: I like teaching code, and I like seeing bad code work...I am strange that way.
@fuzzymurdermittens6 жыл бұрын
The part that hurt me was all the unnecessary Jump statements. So many unnecessary Jump statements...
@sinomirneja7716 жыл бұрын
His logic hurts my head! I would do all the nested loops, ... , differently! He starts from the inner loop and the makes the outer loop start within the inner loop! If you are confused, you can empathize with me!
@athath20106 жыл бұрын
30:05 The issue that happened there was that you used an OR command, not an AND command. So, if the thing below the person was either not a wall OR not a void, the person would walk down. Since voids aren't walls, the first condition ("not a wall") was satisfied (and so was the if statement).
@TheCarrot116 жыл бұрын
"They are replaceable, there are 7 Billion of them." Someone has the mindset of an American business owner to their workers, good on ya Jon! :)
@shawncat6 жыл бұрын
So... It's just a jump to the left - and the a step to the right. Hmm, still needs a hips, knees and thrust command.
@MW-pb2gf6 жыл бұрын
Put your left foot in, your left foot out, your left foot in, and shake it all about; do the hokey pokey and turn yourself around...
@Jennikiko6 жыл бұрын
I see you're a transsexual transvestite from Transylvania.
@shawncat6 жыл бұрын
On my off days.
@xenxander5 жыл бұрын
Step left, around, and together with the right.
@amyaurion5 жыл бұрын
I'm going to send this to my brother, he's an actual programmer. I feel like this will bring him "joy".
@jesuschristonabike88786 жыл бұрын
I absolutely love these games, the creators manage to make such great ambience.
@liaminfinitelogik90826 жыл бұрын
after all these years I've watched KZbin videos you are defo my favourite one ..
@ShadowViewsOnly6 жыл бұрын
The Pickup command has a direction too! :) Stepping down, picking up from below, stepping up... Geeezz... :D Also those jumps to next line of code.... :D
@elias_hi6 жыл бұрын
After watching this, I feel like eating spaghetti.. hmmm
@drezhb6 жыл бұрын
Your code is awful. I love it :D
@xenxander5 жыл бұрын
You should do the challenges that say 'do in so many lines of code' or 'do in so many number of seconds'. That's why we have three tabs for programs per challenge :3 A do - loop while command set would make some of these challenges so much easier.
@biscuit7156 жыл бұрын
Jons inefficient programming really helps me feel better about mine
@benwhite50426 жыл бұрын
7 billion humans - "Oh God, not the nesting"
@Swift_The_Leapzard6 жыл бұрын
*Insert Little Inferno song here*
@eyesaac9656 жыл бұрын
You should play little inferno, it’s made by the same people and has the same style
@MikaAndrianoelison6 жыл бұрын
cool game, are they the same guys that did world of goo? (same-ish characters style and UI fonts) :D
@johnhenderson48336 жыл бұрын
Same guys that did little inferno, world of goo and human resource machine. They also have the most terrifying company name possible.
@bubbadoo106 жыл бұрын
What's terrifying about the company name for the developers, lol? They went by 2DBOY with World of Goo and then Tomorrow Corporation with Little Inferno and beyond. I don't really see either as a terrifying name, 2DBOY is pretty not scary and Tomorrow Corporation is just like a little jab that goes hand in hand with their stories that are kind of anti.. would it be anti capitalism or just like anti business/corporation? I guess more the latter, as it tends to be a story against more greedy business types fucking up everything. Hopefully you know what I mean though, they have had that type of story since World of Goo.
@johnhenderson48336 жыл бұрын
I see that jab as creepy, though I know they mean absolutely nothing by it. just "The corporation of tomorrow" fills me with suspicion.
@TYKUHN26 жыл бұрын
Hey Jon. A hole isn't a wall. Which means the statement "The hole below me is either not a wall or not a hole" is true
@Davy-yg4jl6 жыл бұрын
A floor is not a wall either
@AlphaHawk1156 жыл бұрын
Human research machine would have been infinitely easier with if statements.
@markdfox6 жыл бұрын
Human Research Machine felt like an approximation of assembly, where this has more of a C vibe
@asj34196 жыл бұрын
C with gotos *everywhere*.
@ze_rubenator6 жыл бұрын
There were two if statements in HRM, if zero and if negative. Without them it would have been quite a dull game.
@markdfox6 жыл бұрын
I think I've only had to use goto once in the entire time I've been working with C... and I still feel dirty about it to this day
@KuraIthys6 жыл бұрын
I can't think of any good reason to use a goto in C... Basic maybe, but even then only the most ancient variants.
@SangoProductions2136 жыл бұрын
12:41 As a programmer, I find your structure utterly indefensible, and demand you pretty it up. *Goes back to working with COBOL* *Cries himself to sleep*
@KuraIthys6 жыл бұрын
As a game engine programmer working with retro hardware, I drink the tears of coding purists. I need more speed, dammit! Screw the consequences!
@pale24576 жыл бұрын
The music is incredibly depressing and hopeless, it fits the theme really well.
@theobrill51616 жыл бұрын
Jon, you do not need that many jumps when you have else commands, it'll automatically run through all the ifs, and then you can jump back to the start of the code, especially when you have a jump command not actually jumping whatsoever, and actually just going to the next logical step
@origulator6 жыл бұрын
...should've called it "Not safe *from* work" tbh
@sander_bouwhuis6 жыл бұрын
Despite all the comments about the 'poor programming skills', I think you actually did very well for a non-developer. If you have never been taught programming paradigms and are not used to dealing with performance and optimization issues it's probably quite difficult to come up with better/succinct code. Thumbs up for the video!
@Alluvian5676 жыл бұрын
After an if statement runs, the code moves on to the next line. You never need all that identical code at the end of every branch. Just put that outside of and after the if statement.
@polishenglish83566 жыл бұрын
Daaamn, you truly understand programming! :O
@AsamiImako6 жыл бұрын
I really hope this is sarcasm
@dragonjaw955 жыл бұрын
Might be better solution for 44:40 1: Step down 1 2: pick up from 13 3: if left = hole 4: step down Taget from 10 5: if right = wall or right = person 6: drop 7: end 8: else 9: step right 10: jump 11: else 12: step left 13: jump
@Rateus_Johanson6 жыл бұрын
"My solution is slower, but with less death" Jon must've recorded this video on opposite day... "Everyone does a little dance, just some busy work to keep them out of the way" Jon are you in my companies middle management on the sly?
@dpwellman6 жыл бұрын
I just bought the game on the strength (or lack thereof) of this upload. Worked through tp year 20 in a couple hours, Hint for those going for challenges: Lines of code and execution time are often exclusive of each other: fast code is not necessarily elegant and vice versa. The reverse kicked my butt. Been doing OO too long.
@skele33106 жыл бұрын
I love how this game calls out corporations for wanting increased productivity by sacrificing their workers (not always literally in real life but the point still stands)
@KurosakiYukigo6 жыл бұрын
Oh boy, I can't wait to play this one
@mandymaclean10556 жыл бұрын
"omg the sequel to HRM?? Yes! ... wait... Jon's code breaks me... I'll just buy the game and play it myself"
@robingrimm34436 жыл бұрын
As a programming child of a programmer who, admittedly, likes redundancy (idiot-proof code) - your code caused me physical pain. It is interesting seeing your line of thought, but the times where I could see your problem before you (the woman who walked into a hole was because you used an OR statement, and there wasn’t a wall so she could walk there - some variant of (if wall OR hole then walk right else down) would have likely fixed the problem) were both interesting and infuriating. Glad you enjoyed it tho!
@jedimastersterling16 жыл бұрын
I'm very glad I don't have to refactor your code.
@KurosakiYukigo6 жыл бұрын
25:12 Jeez Jon! A bit on the nose with the "humans are expendible" joke from earlier.
@thijs36666 жыл бұрын
What a amazing video! Please can you make more video's of this?
@argonaut40636 жыл бұрын
If this game features a statemachiene, it's an instant buy for me. Statemachienes are awesome!
@keisukebajipup40726 жыл бұрын
Hopefully you start a series it’ll probably take like 4 episode but it will be fun to watch your mishaps.
@BRUXXUS6 жыл бұрын
For that sequence reversal program, I think a follow the leader style thing would work better?
@toniocartonio7086 жыл бұрын
i love how similar that is to C++
@alexkantor82386 жыл бұрын
So we've gone up a bit. HRM seemed like it was just assembly code, with just add, subtract, compare. Now we have IFs and such
@MulleDK196 жыл бұрын
30:02 The reason it failed, is because it should have been AND not OR.
@atlvol6 жыл бұрын
Holy redundant jumps Batman!
@andymci32466 жыл бұрын
awesome! i got the advert for Dr Byke de amsterdamse fietsenmaker
@hephaestus59646 жыл бұрын
As an amateur coder this gives me physical pain
@GldnClaw6 жыл бұрын
If programming problems were this easy to see and overcome, then I should get into it then.
@John-uw2je6 жыл бұрын
They are, but its when you make pages of code and algorithms that you start to tear out your hair. Having to parse thousands of lines, to find that reason for the entire thing not working. AND when you have to type EVERYTHING out, and make sure you put the right amount of spaces, or else the entire thing is invalid.
@FlyGirl7746 жыл бұрын
7 Billion Humans is the Sequel to Human Resource Machine is a prequel to Little Inferno and that is a sequel to the world of goo
@kdog2906 жыл бұрын
This teaches bad programming. The jumps are the beginning of spaghetti code. Still enjoyable to watch.
@edward94876 жыл бұрын
30:30 My god. Sets it to does not equal and thinks it's equal to.
@Xenotric6 жыл бұрын
needed more indirect steps
@tetsubo576 жыл бұрын
I wonder if Jon and Claire have the same definition of 'sexy'.
@reallybadmeme28386 жыл бұрын
The goto label is making me cry
@danielemessina19796 жыл бұрын
18:25 you just need a single jump/loop at the end
@alexandersvanes4536 жыл бұрын
Jon STOP, Claire said NO
@cyansius39506 жыл бұрын
Number 3: Can't you just get rid of the else?
@SLKibara6 жыл бұрын
Oh God Jon NO! What will Claire think?
@terrrario10146 жыл бұрын
"Jon No!"
@chiefmaggot3606 жыл бұрын
I thought this was gonna be a simcity esque game. Oh well still fun
@matcat46 жыл бұрын
i have not purchased a game so fast in a long time ... curse you jon
@CommissarMitch6 жыл бұрын
Question. Are the guys who made this behind World of Goo?
@malikhawkins61186 жыл бұрын
Mike Fluff yep.
@ammararran49166 жыл бұрын
OMG!! you make programming so complicated man!! it is not that complicated but jon apparently love to do the complicated way.
@nahco39946 жыл бұрын
This game is a perfect example of why the goto statement is so heavily frowned upon in C/C++
@macoud126 жыл бұрын
I should get this game.
@AndreiTache6 жыл бұрын
I *NEED* this in my life now!! Just really hoped they’d release it for mobile... Loved the concept of human resource machine but found the puzzles to be too math-related (I’m horrible at math), so this game looks like GOTY material for me :)
@FairHavenFire286 жыл бұрын
Jon.. at end of an if test it will automatically kick you out to the end you don't need 400 jump statements. Being a programmer watching you play this hurts my heart.
@numbers32686 жыл бұрын
I'm not much of a programmer but I know that some of those codes are horribly messy just by looking at the sheer amount of goto-equivalents.
@BrknSoul6 жыл бұрын
44:51 couldn't they simply remain in place and takefrom down-left?
@asdfgyjhvj78816 жыл бұрын
This seems like it will be very... enjoyable...
@quma25906 жыл бұрын
You should try Arma 3.
@Silverhawk1006 жыл бұрын
Suddenly we have come to world of C
@davidjames48906 жыл бұрын
What next? A PowerPoint tutorial?
@humantryh48326 жыл бұрын
Yes
@katiepotatie16156 жыл бұрын
David James 400k subscriber special perhaps 😁
@Atropos1486 жыл бұрын
I would like to see that from Jon, yes
@georgetaylor1006 жыл бұрын
is this a good way of learning basic code?
@Alluvian5676 жыл бұрын
Does this game have active steam workshop support? Human resource machine was fun, but way too easy. User made levels would have been awesome in that.
@thomasmiller82896 жыл бұрын
For the code you had to fix: Have a think about what Or does vs. And :)
@CommissarMitch5 жыл бұрын
Is this the prequel to They Are Billions?
@T--xo2uq6 жыл бұрын
With your magnificent Excell skills, you could get a better paying job at a scientific company examining huge amounts of data. Just putting that out there, someone's got to make sense of numbers.
@Sannoso6 жыл бұрын
Unfortunately analyzing large sets of data is beyond the capabilities of Excel. He would need experience with MapReduce or Hadoop and probably basic machine learning as well. Statistics has come quite a long way!
@ZechsMerquise736 жыл бұрын
I would recommend Hadoop, because it's fun to say.
@EVERSMAN425 жыл бұрын
I feel like I am at work
@MitchellGardnerAngryMonkey6 жыл бұрын
Thank God for my shooters... Lol !
@Blewlongmun6 жыл бұрын
Aww it's the art style of Little Inferno.
@ollyclass6 жыл бұрын
It's the same people who made it.
@Blewlongmun6 жыл бұрын
I assumed, I just love the art style and forgot about it.
@T--xo2uq6 жыл бұрын
Also world of Goo.
@ze_rubenator6 жыл бұрын
Also the predecessor to this, Human Resource Machine.
@aligallaton39786 жыл бұрын
Jon should do a video when he tries scratch
@mymy-nv4er6 жыл бұрын
Yes!
@theminer37466 жыл бұрын
This is why you shouldn’t use goto statement.
@YesMan_Lucky386 жыл бұрын
My head hurts
@ChimeratAlpha6 жыл бұрын
*jaw drops* Okay. Less than a minute in, and I'm already hoping they've made steps to release the DRM-free build. EDIT: Yes, GOG has it, though at nearly $20 Canadian... I'll wait for a sale. I already have Human Resource Machine, so the "incentive" is useless.
@tigrecito484 жыл бұрын
i came up with the idea years ago that companies that have people working on computers in offices should turn all work into games... an APP... imagine if instead of boringly entering data all day on spreadsheets, you play a farming game collecting stuff but the programming to that game does the same thing that would have happened if you'd been programming a spreadsheet or c++ software or something? so all the person is doing is farming, growing crops and spending hours do fun things that dont use their brains (but that people happily do for hours and hours in their own time) - and imagine if such work software games provided them with in game benefits for doing their jobs faster (ie farming/grinding) you get better clothing for your character, better stats etc etc.. wouldnt these ways make people more productive and work faster? just think of the amount of hours people spend grinding for resources in games like fo76... if that was your job.. but everything you did in the game was actually producing something.. making profit for a business... now wouldnt that be great?
@FatalKitsune6 жыл бұрын
*Looks at the game Jon is playing* God help us all.
@Rap7OrZ6 жыл бұрын
Ow, hell nah, this will fry my brain
@chronosschiron6 жыл бұрын
john i was dong this on a commodore vic -20 in 1980...i was 12....in fact even mad emy own database software so i could use it with all my games i made
@ChaoticNeutralMatt6 жыл бұрын
You don't need to loop.. everything. Or jump.. everywhere
@ChaoticNeutralMatt6 жыл бұрын
Grr thus makes me want to buy this to simplify his code
@samjackmartin6 жыл бұрын
I NEED TO BUY THIS GAME NOW JON SO I CAN FIX ALL YOUR CODE.