Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

I was browsing the Apple App Store today and saw that there was a $0.99 special on a bunch of games and so thought I'd check some out. One that caught my eye was 'Human Resource Machine', which is a game about learning how to write code. I tried it out and it's actually quite fun (mind you I already like writing coding anyway).
IMG_1280.jpg


The game has a linear flow with some additional side quest type problems to solve that are meant to be more challenging.

IMG_1281.jpg IMG_1287.jpg


The interface is quite straight forward. The objective is to get items from the Inbox, do something with them and put the result in the Outbox. You start learning simple things like moving items, then it goes onto loops, copying items, addition, subtraction, branching, etc. As you progress through more challenges, more and more programming instructions become available.

IMG_1282.jpg IMG_1283.jpg


You 'write' you code by dragging and dropping commands and then you can run your program or step through it one instruction at a time. If you get it wrong you get a big red warning and if your code does what it's supposed to you can move onto the next challenge.

IMG_1284.jpg IMG_1286.jpg




There are some interludes...
IMG_1293.jpg


If you do get stuck, clicking the manager will present some options including showing you an example of what is expected in the outbox.

IMG_1294.jpg IMG_1295.jpg


The challenges get harder and harder, but also at one point you start getting ranked on your code efficiency. There are two classes of code optimisation - code size and code speed. Both of these may not be possible to achieve with one solution and they do make things much more difficult to overall (but that's the fun in it).

IMG_1299.jpg IMG_1300.jpg


I've not played the game all the way through the end, but really enjoyed it so far. I was stuck on one solution for well over an hour trying to get both of the optimisation challenges. Looking forward to completing the rest of the game now!

Once I make more progress I'll put my solutions up on here.

-i

A quick disclaimer...

Although I put in a great effort into researching all the topics I cover, mistakes can happen. Use of any information from my blog posts should be at own risk and I do not hold any liability towards any information misuse or damages caused by following any of my posts.

All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle). Use of any information contained in this blog post/article is subject to this disclaimer.
Hi! You can search my blog here ⤵
NOTE: (2022) This Blog is no longer maintained and I will not be answering any emails or comments.

I am now focusing on Atari Gamer.