Let's Look At: Human Resource Machine!
The full transcript of Let's Look At: Human Resource Machine!, a 27-minute Northernlion video (Human Resource Machine) uploaded on January 11, 2016: 66 timestamped lines, about 5,600 words. Press any timestamp to play the video from that moment.
- 0:00 hey everybody, welcome to let's look at human resource machine. this is a game from tomorrow corporation who is well known for world of goo and also i think fairly well known for little inferno. human resource machine takes that similar kind of aesthetic from...
- 0:15 both of those games obviously but predominantly i get a lot of little inferno especially from the character designs here but it is a little bit of a different game little inferno was kind of an ambient puzzle game with environmental overtones and and some cool mechanics that didn't really resonate with me, but a lot of people were like you're sleeping on this game it's really good human resource machine is actually like a
- 0:37 puzzle game that simulates almost programming logic, and i've been learning programming myself since about april so i guess almost coming up on one year right now and i slept on this game when it came out in october it was one of the games that was on my list to cover and be like okay do your due diligence go back, and i'm really glad i did i bought a copy for myself off steam it's $10 u.s.. i guess that would probably make it like 12 canadian or 11 canadian right now. i can't remember but
- 0:59 but and i've been having a lot of fun with it and it's a really innovative and fun kind of a puzzle game actually that i think is definitely gonna be niche but if you missed out on it last year and didn't see any coverage for it. hopefully this can supplement you i'm gonna start up a new game, and we'll play as this dude here like a lot of tomorrow corporations games and by a lot. i mean the other two that i've played at least
- 1:19 there is a little bit of a story that kind of wraps itself around it. some of it is told ambiently by the way your character's appearance changes. some of it is told a little bit more explicitly, but not really explicitly through things like cutscenes. and i wanted to start a new one here just to show you basically from the ground up.
- 1:34 how this works. so i'm not learning assembly, but i've been told that the programming logic in human resource machine resembles assembly the closest. but if you've learned any sort of programming, you can apply the puzzle solving skills or problem solving skills from your learning to actually do this, but at the same time, i think it does a pretty good job of making it accessible for beginners and complete neophytes alike.
- 1:55 you look like an excellent instruction follower. your first job will appear over there on the right side in a moment. remember, you can always ask me for help. so basically, all of our tasks in human resource machine involve taking stuff from the inbox, manipulating it, and putting it in the outbox. so, you know, much like programming is just manipulating, storing...
- 2:14 you know changing data and then pushing it somewhere often times. this is pretty much exactly what we're doing here so we basically visually just drag and drop our program here or our code if you will this is basically our code window or our editor so we got two commands right now, but it'll get
- 2:29 bigger very fast. i probably won't take too much time to explain exactly what's going on all the time for the banal minutia anyway. but we got two commands. inbox, grab something from the inbox, boom. and then our program failed because management expected a total of three items, not zero, in order to get the correct solution. we need to move everything to the outbox. so...
- 2:48 we'll stop that and then we'll put an outbox outbox takes whatever we're holding and puts it in the outbox so if we speed it up a little bit here we grab something from the inbox put it in the outbox, but wait we need three items not just one so then we do inbox outbox inbox outbox inbox
- 3:04 outbox and i know what people are going to say wouldn't it be just simpler if you had some kind of loop there to handle it oh, don't worry. we'll get there and we'll get there very quickly it is a game that in terms of its complexity ramps up very quickly and also does a good job oh the volume may be a little loud here let me just let me just crank that volume down a little bit. i didn't expect the cheers to be so uproarious hopefully that's a little better there, okay? oh
- 3:29 there's no getting around it, we have to go through all of these to get further. but eventually we start to get to the point where we're optimizing in order to get the smallest program possible, like the fewest lines of code, and also the fewest cycles that the program actually takes to finish. sounds boring? maybe not the game for you. sounds exciting? solving a program concept or programming concept in kind of the confines of a game with a visual language?
- 3:54 you're gonna like this. so here's our loop. basically instead of doing inbox, outbox, ad nauseam, we just do inbox, outbox, then we put a jump, and it jumps back to the start. so basically this is like a go to statement, and it turns this whole thing into like a... a while loop, or a for each loop technically. so now, for every single thing in the inbox, we will... i can crank it up a little faster here. we will put it in the outbox,
- 4:17 and it will be completed. this is pretty much where the game is just tutorializing things. we get introduced to new code, or new commands very very quickly. the big thing that we get introduced to in year 3 here, notice our character is starting to maybe get a little older there, is that we actually have copy from and copy to.
- 4:35 so we can actually copy to the floor and copy from the floor in order to store objects and then grab them later. and this is a little bit like creating a local variable and putting a value in there. so ignore the inbox for now, this is our program spec, and just send the following three letters to the outbox. b u g. the facilities management staff has placed some items over there on the carpet for you, if only there were a way you could pick them up. if we just need to do b u g, we'll copy from four, take it to the outbox.
- 5:01 then copy from 0, take it to the outbox. and then copy from 3, and take it to the outbox. and i'll crank up the speed of it here so you can see it work, but hopefully you can see the steps there and you can understand how it works. we could have also done ubg or, you know, bug in the reverse order if we wanted to. but for now, it seemed to make sense to just do it the way it was told.
- 5:24 i promise, maybe i should have started halfway through but i promise it gets a little bit more complicated soon. like some of the puzzles that we'll see closer to the end of this get very very complicated. they're a little easier if you've already seen them, you know, in programming before. you're like, okay, that's just a while loop. how do i write a while loop in, you know, the basic graphical language that's going on here? how do i multiply something by itself in the graphical language that we've got going on here without just being able to say, hey take this and add it to itself, you know, as many times as, basically it's another while loop. anyway,
- 5:54 grab the first two things from the inbox and drop them into the outbox in reverse order repeat until the inbox is empty here's where things get slightly trickier, so we'll start we'll go to our inbox by the way this button right here is basically like a step through so this allows us to see what the next line of our program will do so the next one is inbox we'll grab something from the inbox then we want to copy that copy that to zero and if we again step through it we grab it we put it in zero we're still holding it though
- 6:25 what we'll do after that is go back to the inbox, copy that to 1. and you're probably following along pretty simply here, but just in case you're not, we might as well. he'll throw that out because he's grabbing something else from the inbox, puts it in there. now we need to deliver them to the outbox in reverse order. so...
- 6:43 what we should do is just take the existing one we have, go to the outbox, and then copy from zero and take that to the outbox as well, and then of course surround the whole thing in a jump. very like intuitive design here. i can't speak like if you have no knowledge of programming, it's easy to wrap your head around, but the way they introduce it and you're only starting with really five commands and they give you something simple like take this and then put it over here, i think it does a pretty good job of easing you into it. it's definitely not like a programming teaching tool from a syntactical sense, like you don't actually learn how to write code,
- 7:12 but you do kind of learn some very simple programming concepts that are kind of taught in an interesting way and it reinforces that knowledge as well. but it's not really an educational tool, it's kind of just a really neat spin on a puzzle game. so you look at this here, and we got our speed cranked up a little bit. this will allow us to deposit them in...
- 7:31 reverse order two at a time so each pair will be deposited in reverse order but you may notice that there's definitely a way that we could optimize this program a little bit one thing that we could get we could do here, and this is half the fun of the game as well one thing we could do here is just not copy into one and then the program should still run perfectly and
- 7:52 but it saves an extra step and later on we will be rewarded for doing optimizations like that which is a really neat way to handle puzzles as well, so we got coffee time now which is a cutscene and i'll show it to you to be representative of the kind of cutscenes you see throughout the game but it's tomorrow corporation. i feel like they have again i didn't finish little inferno, but i did finish world of goo although. it was like six years ago at this point they have kind of this
- 8:15 vibe or theme that they have of like you know corporate oppression and also inevitable doom and gloom maybe with some environmental aspects around it as well and it's all kind of told oftentimes through this like sepia tone that almost looks like it's from angela anaconda or something like that you're either for that or you're kind of milk toast on it most of the time i found myself kind of milk toast on it but i really like the mechanics so after this thing start to split and also we can get into some more complicated puzzles alright
- 8:43 i'm just skipping through the dialogue because i'm guessing i'm too mechanics focused. for each of the two things in the inbox, add them together and put the result in the outbox. okay. so we need to grab two things, add them, and put the result in the outbox. this gives us the add command. so, we'll grab something from the inbox. we should probably copy it to zero. grab the second thing from the inbox. add zero to it. and then take it to the outbox. now let's just see if that works at a glance. so we can step through it here. grab an eight.
- 9:14 copy the 8. throw it away. grab the 9, which is the second thing. add it to the 8. we got 17. we carry it to the outbox, and then the program will fail because there's not enough stuff in there. so all we need at the end here is another jump. and then we can crank this through, and it should run really quickly. now, even though this is very simple right now, i'm sure some people are like, this is way too easy.
- 9:36 it's very satisfying when you have a difficult program to watch it run through like super super quickly and like try to optimize it to make it work, but once it actually works, and it's getting the right result every time there's almost like a little bit of like a factorial satisfaction or an infinifactory kind of satisfaction of that or a space cam kind of satisfaction of that of like i built this generator that actually does what it's asked and there's a like a really inherent kind of sense of accomplishment for that
- 10:02 alright, so now we're in the optional areas which show up at some points for basically harder puzzles that are optional in terms of progress throughout the game not if you don't have to do these to actually complete the game but they are nice if you've got a little bit more of a fundamental programming background. i guess or foundation
- 10:19 for each thing in the inbox, triple it and outbox the result. self improvement tip, where are we going with this? please leave the high level decisions to management. basically, what they're teaching you here is that the game will value optimization through these puzzles. for each thing in the inbox, triple it and then outbox the result. so we can maybe think of this as like, let's go to the inbox, copy to zero, add zero,
- 10:43 add 0. that'll triple it because we're adding it to itself twice. take it to the outbox and just jump back. now let's see if this works. we grab a 2, this should become 6. 4, 6, carry it to the outbox, go back. and then the real test here, because this is a fairly easy one, will be to see if we did it in the fewest number of lines to hit the requirements and the fewest number of cycles. so our size challenge, use up to 6 commands, we use 6.
- 11:13 we might be able to do it even faster than that. do it in 24 cycles or 24 steps or less. we did it in 24 steps or less. i don't know if we could make it any faster actually. maybe not with these commands, but another thing you could do i guess is pick it up, copy to one, copy to zero sorry, copy to one.
- 11:32 and then add this, add this, and then take it through, but that doesn't really... that's one extra step, i think. also notice that this does a good job of testing the bounds of a program. it's kind of a dorky thing to be excited about, i guess, but they give you an expected value, then a negative value, then a high value, and then a zero. like, it tests some of the limits of your actual code, which is cool. let's just complete this one again, and then move on to the next one. because i want to show you the third one in this string of optional ones, and then maybe i'll go back to my other save file and show some later puzzles in the game.
- 12:01 but definitely by now you should know if this is the kind of game that you're interested in and i'll show you. it goes pretty deep up here. this is the end of the program, but in my actual game, i think i'm only on countdown right now and i got stuck there for a little while. so this is kind of where i went like, alright, let's cool it.
- 12:20 for now and you know give my brain a rest and try to solve that problem while eating a bowl of cereal or something but each one of the puzzles maybe you know take between two and five minutes but it depends uh you know how kind of well versed in the concepts you are i guess before you get into so i wouldn't necessarily expect this to be a
- 12:36 10 hour long game, 8 hour long game, thinking probably more, you know, a few hours, 3, 4, 5, 6 somewhere in there. but part of the satisfaction as well is as you get into these more complicated puzzles, do you actually care about finding, uh, economical and efficient solutions? and if you don't, it'll be a little bit worth less for you, or less...
- 12:54 long i guess for you, but if you are the kind of person who's interested in stuff like that and if you're interested in the game for its kind of analogs to programming i could understand that you probably would be at least i found myself interested in it then you might get a little bit more out of it. there's kind of a self improvement level here so this one is
- 13:12 for each thing in the inbox, multiply it by 8 and put the result in the outbox. using a bunch of add commands is easy but wasteful. can you use it... can you do it using only 3 add commands? management is watching. so we need to turn 6 into 48. let's try doing this with a step by step function. ooh baby! what is... what does it really mean to multiply something by 8? to me, that means multiplying it by 2
- 13:43 and then by 2, and then by 2, because 2 to the power of 3 is 8, right? so let's say this number was 2. if we pick up a 2, let's start with 6. what's 6 times 8? 48, right? we pick up a 6.
- 13:56 we multiply it by 2 that makes it 12 we multiply 12 by 2 that makes 24 we multiply by 24 that makes 48 so instead of thinking like oh my god how with addition? how are we going to make a multiple of 8 out of 6 here or out of any number we get? instead you got to think of like how many doublings is that in this situation at least not in every single one the next one is going to be much tougher so we'll get inbox and then we'll copy it to here and then
- 14:22 we're going to want to add it to itself to double it once so that'll be our first doubling hit the button put it down add it together sweets now for i guess ease of use we could just overwrite zero and then add zero and then that should give us 24 well not 24 this time it'll give us 20 and then it stops, and then we want to get it well this one will go to 48 again which is good?
- 14:49 because they give you different values every time. copy to zero, add to zero, and then outbox.
- 14:58 then theoretically this should just loop, but let's go through it slowly so we can see six should be 48 6 plus 6 12 plus 12 24 plus 24 gives us 48 we go back to the outbox now kind of another moment of truth doesn't work with a negative number this should be negative 16 we get negative 4 negative 4 plus negative 4 is negative 8 negative 8 plus negative 8 is negative 16 it gets delivered we've already done a 6 so we can probably realistically assume that a 5 is going to work 5 needs to become 40
- 15:26 which it obviously is here, and at this point you can probably see the writing on the wall that this will actually work. the question will be, is this the most efficient way that we can do it with the commands available to us? and the answer is... maybe not, but it's probably the most, um... it's probably efficient enough to qualify. i think at least. without having a more, a more like, uh... stratified ability to write like a for each loop or a wow loop, uh... i think this is pretty much the best we can do. now, this is a challenge that actually i had to think about for a little while. this is the tetra compiler.
- 15:56 for each thing in the inbox multiply it by 40 and put the result in the outbox. i was like oh my god what does it mean to multiply something by 40 and i thought about it for a while? and i don't expect you watching this for entertainment to come up with the answer in you know 15 seconds but if you do that's awesome, but let me give you a little hint here. we got five spaces on the ground zero one two three four
- 16:21 why is it not one two three four five oh because arrays in? programming are usually zero index the first value in the array is that position zeros a little program and stuff all throughout it. this is a prize, huh? but we've already learned how to multiply something by eight if we multiply something by eight and then add it to itself five times that's the same as multiplying something by 40 for example three times eight which we can all be already know how to do is 24
- 16:50 24 plus 24 plus 24 plus 24 plus 24 120 3 times 40 120 so basically all we have to do is do exactly the same thing we did last time we're going to pick up the inbox copy it to 0 add it to itself copy it okay, got confused for a second. it can happen copy it to 0 again add it to itself copy sorry copy from this should be copy from not copy to oh
- 17:25 wait a minute. no, no, no. i've got it all wrong. copy 2, 0. it's easy to get lost here, but the visual programming language does a good job of making it work anyway. copy 2. so we take a 3. have i done this right? let's just do it quickly and see. 3 should equal 24. all right, i'm not a complete idiot. that works right. then, we want to take that 24, copy it to 0, copy it to 1. no, we don't actually have to do that. we could just add it five times if we wanted to.
- 18:03 copy it to zero. this is different than i did it last time. one. two. three. four. five. now! oh god, that's... this is wrong. i think i've lost myself, so... i'm not saying it's complicated, but the way i've explained it, i may have lost you as well. don't worry about it. what's five times forty should be two hundred. let's see if we do this, team. five plus five is ten. ten plus ten is twenty. twenty plus twenty.
- 18:35 it's 40 40 did i do it even with my own ignorance? no, i went one further than i needed to okay. that's fine at least we could visually see that easily then you're gonna take it to the outbox and then you're gonna jump and then you're gonna do it like that alright. let's run through this quickly what's 7 times 40 280 good lord it works? and isn't it satisfying as you watch those numbers actually become what you want them to be 5 of course times 40 is 200 this program is gonna take like 200 steps to actually complete. it's probably not that i
- 19:07 efficient, but it's actually going to get the job done. oh we did it right on time to see the way that i did this last time was a little bit different and this is cool that we can actually see like in my head i was like oh that was cumbersome but it actually ended up being about as elegant as it needed to be in order to get the job done what we could have done instead instead of adding it to itself over and over is
- 19:29 we could have copied it, which is what i did last time and i actually didn't get the bonus for it. we might as well just show that off to see how this is more efficient. remember we were right on the border lines last time. i think we only need to do it for four, and then you would add zero. this might be slightly off, but we'll see pretty quickly. and you're gonna add it to all the boxes that you've copied it to. so seven should become 280. it does work, but you see that it's actually like two extra steps here to do it this way. man, look at this little guy go, it just feels so good.
- 20:08 alright, so that is going to do it, but it's probably going to be less efficient and also slower yeah, see so it's neat how you can actually optimize that stuff. let's go back to the okay, we'll tell you what let's finish the puzzle here and then go back to the elevator i'm not sure that i'm not sure if exit game takes us back to the main menu where actually just quits the entire thing altogether
- 20:28 so you can probably tell by now i'm having a really fun time with this. most of the time when i play puzzle games i'm kind of like, i'm sorry i'm bad, i apologize, i'm an idiot, solutions should come easier to me. on this one i'm like, this is a puzzle game that for the first time in forever actually speaks to me. and sometimes i play even like a good puzzle game.
- 20:46 i play it and i'm like, hey, i like this but there's no way i'm gonna spend any more time playing it. it's like a cool idea but i can't see myself putting four or five hours into it. i could definitely see myself finishing human resource machine. whether or not i actually will, we'll find out. but let's show off maybe one more difficult puzzle and then we'll finish this off. why don't we start with something that i can probably remember how to do. let's go with equalization room. so this is our 13th puzzle in the game.
- 21:14 just get rid of the code here so we can solve it ourselves. so now we get some new codes we get subtract we also get jump if zero basically, this is just like if it's zero jump to this line get two things from the inbox if they are equal put one of them in the outbox discard non equal pairs repeat we also have comments now so we can throw in a comment here and be like hello
- 21:37 it's weird, i use the mouse with my right hand but i'm left handed so my handwriting with this stuff is really bad. comments of course very useful. we can also leave comments on the ground but not until we get a little later. this basically lets you label objects so you remember what they do. so we need to break this puzzle down into some smaller increments. get two things from the inbox. easiest thing in the world. inbox.
- 21:57 copy to zero and then we can do inbox copy to well we don't even have to copy to that's we've gotten two things from the inbox now one of them is stored here if they are equal put one of them in the outbox okay, how do you discover if two things are equal if i had a number x and a number y how would i tell if they were equal? well you just subtract one from the other and if it's zero then they have to be equal so we'll just let's leave some comments here right here. we'll say we
- 22:30 oh man, i kind of wish you could type but wouldn't that make it maybe a little bit too much like actual programming? they got to keep like some semblance of tact on this here. god. oh my god two x's basically hey these are my comments as long as i know what they say it's the only thing that matters no one else is going to be maintaining this software environment okay, after we got the two x's. what do we do? we'll subtract we're holding the second one remember we'll subtract the first one from the second one then if we're holding a zero
- 23:09 we're gonna take... we're gonna copy the one that we had, because we've already lost the other one during the subtraction, and take it to the outbox. if it's not zero, what do we do then? we will just go back to the start of the program, right? we get into some kind of like nested loops or switch statements here. so let's walk through this step by step. first one should resolve properly. we grab one item from the inbox. we put it down.
- 23:39 we throw it away. we grab the second item and now we got two x's. we subtract the first item from the second item. we have a zero. we don't want to put a zero in the inbox though. we want to put one of the numbers in the inbox. so, we jump to the jump point, copy from zero, which will give us our original number, and then take that to the outbox. sweet. and then, the only thing that we need to do, i think, is take this to the top. now let's just see if we actually, um...
- 24:07 if an unequal pair will resolve it. grab the 2, put the 2 down, throw it away. grab the 8, 8 minus 2 is not 0, so you will not jump, instead you'll jump here, right back to the start of the program.
- 24:25 and you'll grab, you'll start the whole thing all over again. so i believe that this should actually work. let's put it on like, quarter, or you know, slightly faster speed. on equal pair it gets discarded. equal pair gets dropped in. on equal pair gets discarded. equal pair gets dropped in. beautiful! we made it happen. how about efficiency? we took one too many steps? okay, there's gotta be, there's one thing we can do to make this work. one too many steps. certainly it's not the, uh, it's not the comment.
- 25:00 i will admit the jumps look a little bit like unnecessary. like this this extra jump here seems like it shouldn't exist. what if instead of jumping back you just jump to here and that way you're... no, you'll still copy from zero and then take it to the outbox then. oh now i've done it. all right, well whatever let's just finish it off again. i hope i didn't mess it up. yeah, it looks like it'll still work.
- 25:30 alright, well i think it's pretty clear that i'm having a lot of fun with human resource machine. i'll work on how to optimize that one later. i'm having a ton of fun with the game. it's a puzzle game that i can see myself finishing, which is pretty much the highest praise that i can put on a puzzle game, honestly. it's relatively cheap, it's a lot of fun, and if you're at all interested in the logic of programming and the puzzle solving that is inherent in programming, this is a really cool way to kind of make it fun, but i mean, i would argue that solving problems and programming is already pretty fun.
- 25:58 but that's your mileage may vary, but it's kind of a cool way to do it and maybe a nice introduction to some some programming concepts you know like optimizing algorithms and stuff like that, but it's maybe getting a little bit too heady about it at its core it's actually just a fun puzzle game that happens to relate to programming maybe it's something you geek out over a little bit more if you're currently learning programming or if you have an interest in it that's long standing. i think you could find yourself having a lot of fun here apart from that
- 26:22 your mileage may vary, but i'm having a great time with it. and i'd go so far as to say that it's one of the best puzzle games that i've played in recent memory without a doubt. so i would definitely recommend human resource machine wholeheartedly if you like what you see. as always, there will be a link in the video description below to pick it up on steam if you are interested. and if you are, you can click it. of course, if you enjoyed the episode, click the like button. it helps out a great deal. and of course, subscribe if you want to see more in the future. for now, thanks for watching, and i'll see you next time.