{"id":9603,"date":"2010-10-01T10:04:39","date_gmt":"2010-10-01T15:04:39","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=9603"},"modified":"2010-10-01T10:08:44","modified_gmt":"2010-10-01T15:08:44","slug":"stolen-pixels-231-the-history-of-civilization-part-2","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=9603","title":{"rendered":"Stolen Pixels #231: The History of Civilization, Part 2"},"content":{"rendered":"<p><a href=\"http:\/\/www.escapistmagazine.com\/articles\/view\/comics\/stolen-pixels\/8167-Stolen-Pixels-231-The-History-of-Civilization-Part-2\">Here is part 2<\/a> of the history of Civilization.<\/p>\n<p>Ok, I was playing on a large map last night and it got to the point where it took the computer so long to process its turn that I actually abandoned the game. A lot of time was wasted hopping around the map and making me watch all these stupid irrelevant battles on the other side of the planet.  There&#8217;s an option to disable the  animated battles, which is only available at the beginning of the game. (And always off by default.  And the game doesn&#8217;t remember your preferences. So if you&#8217;re four hours in and you find yourself watching half a minute of fights you&#8217;re not even in, then there&#8217;s nothing you can do about it. There&#8217;s also no option to show only your own fights. Thank you so much Firaxis.)<\/p>\n<p>But the computer also spends a surprising amount of time simply <em>thinking<\/em>.  It feels like about the same amount of time I spent waiting for turns in Civilization II, which came out in 1996.  According to <a href=\"http:\/\/en.wikipedia.org\/wiki\/Moore%27s_law\">Moore&#8217;s Law<\/a>, processors should have doubled in performance 9 times in the last 14 years.  So computers are (very roughly, give or take a power of 2) five hundred and twelve times faster.  I can believe that Civ V is more complex than Civ II, but it&#8217;s nowhere <strong>near<\/strong> hundreds of times more complicated.  The simulation is several fold more complex.  (Let&#8217;s aim high and assume it&#8217;s as much as ten times more complex.)  That still means the game should be running fifty times faster.  Turns should be instant. What is the game <em>doing<\/em> with all those cycles. (It&#8217;s not graphics, since you still get the delay when using the super-fast 2d view. Which is also a great way to crash the game, by the way.) <\/p>\n<p>I&#8217;m not accusing the game logic programmers of incompetence.  (I save those insults for the dunderhead who designed the interface and left out half the options.)  I&#8217;m just really curious what&#8217;s going on here.  My guess is that the combat AI is looking more moves into the future. As people who write programs to play chess have discovered, looking forward through just three or four turns of moves &#038; counter-moves can burn an <em>unbelievable<\/em> number of CPU cycles.   I did notice the game got slower when big wars were going on. This led me to want to make peace between other nations just so I could get back to building my spaceship without having to sit there doing nothing for half a minute between each turn.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is part 2 of the history of Civilization. Ok, I was playing on a large map last night and it got to the point where it took the computer so long to process its turn that I actually abandoned the game. A lot of time was wasted hopping around the map and making me [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[102],"tags":[],"class_list":["post-9603","post","type-post","status-publish","format-standard","hentry","category-weekly-column"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/9603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9603"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/9603\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}