Factorio – a game where you can automate basically anything
This game is like crack for programmers.<p>This has been the most popular game at my LAN parties (<a href="http:&#x2F;&#x2F;kentonshouse.com" rel="nofollow">http:&#x2F;&#x2F;kentonshouse.com</a>) for the last year and a half. Here&#x27;s a review I wrote in December 2014 that still applies (original at <a href="https:&#x2F;&#x2F;plus.google.com&#x2F;+KentonVarda&#x2F;posts&#x2F;YHayo6sj42n" rel="nofollow">https:&#x2F;&#x2F;plus.google.com&#x2F;+KentonVarda&#x2F;posts&#x2F;YHayo6sj42n</a>):<p>My new favorite game is Factorio (<a href="http:&#x2F;&#x2F;factorio.com" rel="nofollow">http:&#x2F;&#x2F;factorio.com</a>). It&#x27;s like a cross between Minecraft, SimCity, and Civilization, and the result is massively better than any of them. The game is currently in &quot;alpha&quot;, but I&#x27;m not sure why; it&#x27;s far more polished and less buggy than many finished professional games I&#x27;ve played.<p>Overhead view. Like Minecraft, you start out punching trees for wood to craft a pickaxe with which you can then mine some ore to craft other things. But soon, you are building an automatic mining drill, then a conveyor belt to bring the ore to a smelting furnace, then robot arms to insert the ore into the furnace and take the smelted bars out, then more conveyor belts to bring those to other places where thy can be used. Eventually you can build power plants, labs to research new technologies, walls and turrets to defend against attackers, oil refineries, robot delivery drones, trains, and more.<p>The game is incredibly addictive (especially for programmers?). But what really impresses me is how the game illustrates the complexity of the real world. Factorio is a lesson in how logistics trump tactics and strategy (&quot;strategy is for amateurs, logistics are for professionals&quot;), and in how to build a complex system for changing requirements. The lessons are broadly applicable to the real world.<p>It&#x27;s fairly easy to analogize Factorio to city planning. In your first game, you will quickly discover that the city you built for the early game is all wrong for the late game -- and then you realize: every real-life big city is a horrible mess and this is exactly why.<p>I also find myself comparing Factorio to software, especially distributed systems and networks. I find myself constantly using phrases like &quot;buffer&quot;, &quot;flow control&quot;, &quot;back pressure&quot;, &quot;throughput&quot;, &quot;refactor&quot;, &quot;under-utilized&quot;, etc.<p>One transition I find particularly interesting: around the middle of the game, you research the ability to build &quot;logistics drones&quot;, which are basically like Amazon&#x27;s quadcopter delivery drones. They can transport materials from point to point around your base -- you set up &quot;request&quot; points and &quot;supply&quot; points, and the drones pick up whatever items land in the supply points and bring them directly to whichever requester is requesting that item.<p>Up until this point, you mostly use conveyor belts for this task. When you first get logistics drones, you think &quot;These are WAY more expensive than conveyor belts and have much lower throughput. Why would I ever want them?&quot; But you quickly realize that the advantage of drones is that they are rapidly reconfigurable. Once your base is entirely drone-based, you can switch factories to build different items on a whim -- no need to re-route any conveyor belts. This gets more and more important in the late game as the number of different types of things you are building -- all with different input ingredients -- increases, and maintaining a spaghetti of conveyors becomes infeasible. This is tricky to grasp until you do it.<p>For a while, of course, you&#x27;ll have part of your base running on drones while another part is still based on conveyors. It&#x27;s like using Google Flights in your browser to search for airline tickets, while on the back end it is integrating with 60&#x27;s-era mainframe-based flight scheduling software.<p>I can&#x27;t help but imagine that conveyor belts and logistics drones represent two different programming languages (or, maybe, programming language paradigms). Choosing your programming language based on how easy it is to do something simple is totally wrong. The true measure of a good language is how it handles massive complexity and -- more importantly -- reconfiguration over time.<p>Another thought: In 10-20 years, when we have everything delivered to our houses via drones and self-driving taxis populating every major street, will we be able to just get rid of small residential side-roads? You won&#x27;t need to drive a car up to your house anymore: it&#x27;s easy enough to walk a couple blocks to the nearest major street and hop in a cab, or better yet to a train station. You don&#x27;t need to carry cargo since it&#x27;s delivered by drones. Delivery trucks: also replaced by drones. Will we suddenly be able to reclaim a ton of inner-city space? What will we do with it?<p>In any case, thanks to +Michael Powell and +Brian Swetland for introducing me to this game!<p>PS. Factorio is multiplayer! We&#x27;ve been having a lot of fun with it at LAN parties, and I just completed a coop game with +Jade Q Wang, who is also addicted. We tend to forget to do things like eat or sleep when we&#x27;re playing.﻿