Hacker News new | ask | show | jobs
by Deinumite 3668 days ago
That game sucked up a ton of my time. Still waiting for the next patch.

It is really interesting and I almost feel like I am writing code at some points, having the machines automate themselves.

I haven't even started playing with the circuits yet which allows you to do even more programming.

1 comments

> I almost feel like I am writing code at some points

I have this theory that the game designer(s?) actually took some pages from a multithreaded programming book and turned them into a game. A kind of meta-game.

Items are messages, transport belts are buffers with blocking writes, factories are actors, scheduling is roundrobin with preemption. Flying robots are a metaphor for references. Everything is as a pull model, and you can see the backpressure progating up the chain.

I'd love to see the implementation. I bet there is no modeling, everything directly mapped to some core programming primitive.

> I bet there is no modeling, everything directly mapped to some core programming primitive.

Yes, I'm sure the game's flying robots are implemented as a simple pointer and nothing else, no additional data to model for a name or any animation or where it comes from or where it goes to or anything like that at all.