{"id":22111,"date":"2014-02-05T16:42:24","date_gmt":"2014-02-05T21:42:24","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=22111"},"modified":"2014-02-05T16:42:24","modified_gmt":"2014-02-05T21:42:24","slug":"empire-of-candy","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=22111","title":{"rendered":"Empire of Candy"},"content":{"rendered":"<p>Looks like the next season of <a href=\"?page_id=16386\">Spoiler Warning<\/a> is <acronym title=\"It's Josh's fault.\">delayed<\/acronym> until tomorrow. So let me fill this awkward silence with this random post. I&#8217;ve heard it said before that talking about your plans gives you a little release similar to the satisfaction of actually carrying them out. Since <a href=\"?p=21973\" title=\"Project Good Robot #30: Interesting-ness\">I already have a game on the way<\/a> and I don&#8217;t actually have time to do anything with this, I thought I&#8217;d just throw the idea out the window in case anyone else finds it amusing. <\/p>\n<p>I&#8217;m not sure why you&#8217;d want to read this. It&#8217;s a rough sketch of a game I&#8217;m likely never going to make, and it exists solely as a means of getting it out of my system. This isn&#8217;t game design. It&#8217;s therapy. <\/p>\n<p>On the other hand, I swiped a bunch of pictures of candy, so maybe you&#8217;ll enjoy looking at those. <\/p>\n<p>Anyway, this whole <a href=\"http:\/\/www.escapistmagazine.com\/videos\/view\/jimquisition\/8734-The-Saga-Scrolls-Edge-of-Candy\" title=\"The Saga Scrolls: Edge of Candy\">Candy Crush Saga nonsense<\/a> has reminded me of an old design doc I&#8217;ve had gathering dust in my head. The core of the idea comes from the notion that normal real-world business has a lot of really interesting tradeoffs associated with it.  My time working fast food (and talking to one of my brothers, who worked for a big-box home improvement chain) revealed all sorts of fiendish sorting, queuing, balancing, timing, and planning puzzles. (Like <a href=\"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=13695\" title=\"Autoblography Part 34: The Systems Analyst\">this one<\/a>.) This sort of thing lends itself to strategy gameplay: &#8220;Given my finite resources of money, space, time, manpower, and throughput, how can I optimally achieve [goal]?&#8221;<\/p>\n<p>You can play this game in its purest form in the <a href=\"http:\/\/www.gog.com\/game\/capitalism_plus\">Capitalism<\/a> <a href=\"http:\/\/www.gog.com\/game\/capitalism_2\">series<\/a>. That&#8217;s fine, but I always thought Capitalism Plus was a bit too sterile or abstract. It doesn&#8217;t matter what you&#8217;re making. You might as well be making widgets, as far as the player is concerned. There&#8217;s no real personal investment or creativity in the stuff you&#8217;re producing, and I always wanted to see a smaller-scale game that focuses on a single product and lets the player have some control over it.<\/p>\n<p>The other inspiration for the concept comes from the occasionally wonderful <a href=\"http:\/\/www.sciencechannel.com\/tv-shows\/how-its-made\">How It&#8217;s Made<\/a> videos. It&#8217;s no longer on Netflix, but it&#8217;s available on Amazon Prime. The show features a lot of food being made, and I&#8217;m always amazed to watch giant piles of raw materials enter the machinery and pop out as colorful, aesthetically pleasing quasi-food on the other end. In particular, <a href=\"http:\/\/www.amazon.com\/gp\/product\/B007JWK1DI\/ref=sr_1_1?ie=UTF8&#038;keywords=how%20it%27s%20made%20jelly&#038;qid=1391069403&#038;s=instant-video&#038;sr=1-1\">Season 3, Episode 25<\/a> shows them making jelly beans, and that helped shape a lot of my thoughts about how this game ought to work.<br \/>\n<!--more--><\/p>\n<h3>Why Candy?<\/h3>\n<p><table width='600'  cellpadding='0' cellspacing='0' border='0' align='center'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/candy1.jpg' class='insetimage' width='600' alt='Mmmmm! Tastes like&#8230; diabetes. ' title='Mmmmm! Tastes like&#8230; diabetes. '\/><\/td><\/tr><\/table><\/p>\n<ol>\n<li>Candy is colorful, vibrant, and pretty to look at. Everyone &#8220;gets&#8221; candy, even if they don&#8217;t really like candy themselves.\n<li>It&#8217;s useful year-round, but has a few periodic spikes to encourage forward planning. High-end chocolates are in demand around Valentine&#8217;s day. Bulk cheap candy is in demand at Halloween. A specific set of specialty flavors and shapes are in demand around Christmas.\n<li>It&#8217;s typically made from easy-to-model geometric shapes. Your 3D artist can make a jelly bean about a thousand times faster than they could make (say) cars or toys.  Actually, all the candy could probably be procedural. Canes, pops, drops, beans, sticks, and spheres can all be made with trivial mathematics.\n<li>It has room for easily modeled creativity and player expression. Making a game that let you design cars would be hard. A game where you design silverware or kitchen appliances sounds mundane and boring. But candy looks appealing and has lots of properties to modify.\n<li>It has straightforward manpower throughput problems. (See below.) It doesn&#8217;t need a bunch of different types of workers that add complexity without offering more interesting decisions.\n<li>It&#8217;s a business that goes directly from raw materials to consumer product, which keeps things elemental. (As opposed to (say) computers, where your company is just one in a long chain.)\n<\/ol>\n<h3>Gameplay<\/h3>\n<p><table width='600'  cellpadding='0' cellspacing='0' border='0' align='center'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/candy2.jpg' class='insetimage' width='600' alt='I&#8217;m full. I&#8217;m feeling mildly sick. On the other hand, my mouth is still watering for some reason and I could conceivably eat a little more without throwing up.' title='I&#8217;m full. I&#8217;m feeling mildly sick. On the other hand, my mouth is still watering for some reason and I could conceivably eat a little more without throwing up.'\/><\/td><\/tr><\/table><\/p>\n<p>I figure gameplay would be something like this: <\/p>\n<p>The player designs their own candy: Pick the shape, the material (chocolate, pectin, gum, hard candy, etc) the color(s),  the flavor, the outer coating \/ finish, and give it a name. Different candy requires different machines. So you need gizmo A to make candy with a smooth glossy coating, machine B to make anything from melted chocolate, machine C if you want the product sprinkled with sugar, etc. The more machines you have, the more stuff you can make. Machines are expensive and each one has a different footprint to make the design of efficient production layouts interesting for the player. <\/p>\n<p>Once the player has designed a candy, they queue up X batches of candy Y. Employees will grab raw materials, then move the product from one machine to the next. When complete, the employee will deposit the candy in the &#8220;warehouse&#8221; and the player can look for a buyer. The strategy would come from decisions regarding hiring, layout of the production floor, and in designing and selling the candy.<\/p>\n<p>The game would run in abbreviated realtime, like Sim City. So N minutes of playing would equal one month of time. There would probably need to be a &#8220;fast forward&#8221; button to get the player through sections where there&#8217;s not much to do. <\/p>\n<p>I don&#8217;t want to make a system for &#8220;judging&#8221; the player&#8217;s inventions. If they want to make lemon-flavored, spicy hot, purple-colored, chocolate-covered sugar cubes that they named &#8220;Crappies!&#8221;, that should be totally valid, even if I&#8217;d never put one in my mouth. Instead, different products would rise and fall in popularity according to some general &#8220;candy fad&#8221; simulation, so you want to have a diverse menu so a drop in popularity of one product doesn&#8217;t result in insolvency. Candy becomes gradually more popular the longer it&#8217;s out there, so it might be worth it to keep making Crappies! to keep the brand name alive, even if there aren&#8217;t a lot of buyers at the moment. <\/p>\n<p>The mechanics of the &#8220;candy fad&#8221; simulation should be unpredictable but not random, and the exact logic should be hidden from the player. Like in real life, they should have to probe the market and figure out what the public wants.<\/p>\n<p>Long-term, the game would have you spreading your empire over some sort of map with competing candymakers, with the trick that territories further away would be harder to conquer due to increased delivery costs. <\/p>\n<h3>Management<\/h3>\n<p><table width='600'  cellpadding='0' cellspacing='0' border='0' align='center'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/candy3.jpg' class='insetimage' width='600' alt='I need to get these eaten up so I can start my diet.' title='I need to get these eaten up so I can start my diet.'\/><\/td><\/tr><\/table><\/p>\n<p>The other thing I&#8217;d like to explore (or see some other game explore) is some actual human resource strategy. In most games, you hire generic interchangeable mooks for a fixed pay and they begin performing their duties at full capacity. If they do have differing stats, you can usually see those up front. If the game is really fancy, maybe they bug you for a raise once in a while. In any case, labor ends up being a tiny little percentage of your overhead. This is hilariously far from anything resembling the real world, and I think we&#8217;re missing out on some cool decisions.<\/p>\n<p>In the real world, labor is typically your largest expense. You can&#8217;t tell how good someone is until after you&#8217;ve already hired and begun training them. Employees start out useless and gradually become proficient over time. There&#8217;s a certain cost to getting someone up to speed, which means you&#8217;ll have a quasi-incompetent rube clogging up the production line until they learn the ropes. Different people learn at different speeds. And finally, different people have different caps on their performance based on their personal ability, and those caps can vary wildly. Sometimes there&#8217;s that one person that&#8217;s just a Jedi Master at running the machinery, and some people never rise above &#8220;acceptable&#8221; no matter how long they stay with the job. <\/p>\n<p>This forms a really interesting long term \/ short term dilemma and creates a need to plan ahead. You&#8217;ll hire people blind, and then over time you&#8217;ll see how they turn out, performance-wise. By the time you discover Alan is pretty-good-but-not-amazing, he&#8217;s going to be fully trained at his job. Do you get rid of him in hopes that his replacement will be more naturally gifted? That might work out better in the long run, but in the short term you&#8217;ll have another newbie slowing things down. <\/p>\n<h3>Tradeoffs<\/h3>\n<p><table width='600'  cellpadding='0' cellspacing='0' border='0' align='center'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/candy4.jpg' class='insetimage' width='600' alt='Tonight is Halloween. This was meant for the children, but I have decided to keep it. Yes. All of it. For me. Only me.' title='Tonight is Halloween. This was meant for the children, but I have decided to keep it. Yes. All of it. For me. Only me.'\/><\/td><\/tr><\/table><\/p>\n<p>Interesting gameplay often comes from interesting decisions. Civilization (the game) is basically a giant decision-making system. My hope is (or, I suppose, <em>was<\/em>) that the balancing act between these needs would draw the player in.<\/p>\n<ol>\n<li>Player gets bulk discounts on raw materials. So buying ten bottles of corn syrup is less efficient than buying a single ten-gallon canister, which is less efficient than buying a fifty-gallon drum. And a lot of products will vary in price throughout the year, spiking just before you&#8217;re most likely to want them. So you want to buy big at the right time, right? But storage space is limited, and the more crap you have the more floor space it will consume.\n<li>Having a broad range of active products builds your brand awareness, making all your stuff sell better. But different products require different machines and raw materials and thus floor space. So the more diverse you are, the lower your throughput is.\n<li>The quality of the final product is tied to employee skill. So if you want to make high-grade, high-margin premium candy you need to have seasoned experts on the team, but if you just want to spam the world with colored sugar then you can (if you want) run a sweatshop of cheap transient workers.\n<li>The big three candy-selling holidays have massive demand and your margins will probably be far above usual, so you&#8217;ll want to sell as much stuff as you can. And of course they&#8217;re all packed in a nice 5-month period instead of being spread out evenly. But candy has a limited shelf life. (The quality drops over time once it&#8217;s sitting in the warehouse waiting for a buyer.) So you can&#8217;t make stuff too far in advance.\n<li>You can do research to unlock new flavors \/ machines \/ shapes. If you&#8217;re the first one to invent a &#8220;super tart&#8221; coating, then you&#8217;ll be the only one that can sell to that audience. But once an idea is in the wild, it becomes cheaper for your competition to research. (It&#8217;s actually cheaper based on how many products use it. So if EVERYONE is making &#8220;super tart&#8221; candy, then the technology will become effortless to obtain.) This means that if you spend to get ahead in the tech curve, then you&#8217;re kind of paying a lot of the costs for everyone else. So maybe research and get lots of exclusives, or ignore it and save a lot of money to spend on infrastructure or workforce.\n<\/ol>\n<h3>In Conclusion&#8230;<\/h3>\n<p><table width='600'  cellpadding='0' cellspacing='0' border='0' align='center'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/candy5.jpg' class='insetimage' width='600' alt='&#8221;Real&#8221; &#8220;fruit&#8221; &#8220;flavor&#8221;.' title='&#8221;Real&#8221; &#8220;fruit&#8221; &#8220;flavor&#8221;.'\/><\/td><\/tr><\/table><\/p>\n<p>So that&#8217;s the concept. It&#8217;s sort of daunting to see it all mapped out like this. It would technically be much easier to code than Good Robot, but it would be far more challenging to balance and test. If I make lasers 10% more effective in Good Robot, I can fire up the game and within five minutes I&#8217;ll know if I like the new system. But if I was testing Candy Empire and I wanted to see the effect of making research cost 10% more? That could take a long time to get a feel for how much of a difference that makes. <\/p>\n<p>And now hopefully I can stop thinking about this and put my mind on more immediate problems. Hope you enjoyed reading it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Looks like the next season of Spoiler Warning is delayed until tomorrow. So let me fill this awkward silence with this random post. I&#8217;ve heard it said before that talking about your plans gives you a little release similar to the satisfaction of actually carrying them out. Since I already have a game on the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[120],"tags":[],"class_list":["post-22111","post","type-post","status-publish","format-standard","hentry","category-videogames"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/22111","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=22111"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/22111\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}