{"id":344,"date":"2014-04-08T18:10:05","date_gmt":"2014-04-09T02:10:05","guid":{"rendered":"http:\/\/gm.sagotsky.com\/?p=344"},"modified":"2014-04-08T18:10:05","modified_gmt":"2014-04-09T02:10:05","slug":"brainstorming-on-non-randomness","status":"publish","type":"post","link":"http:\/\/gm.sagotsky.com\/?p=344","title":{"rendered":"Brainstorming on non-randomness"},"content":{"rendered":"<p>First off, yes I realize it&#8217;s been a while since I&#8217;ve posted. I have a new job and a new baby, so no blog posts is simply a reality. I&#8217;m not even going to apologize for it.<\/p>\n<p>But, new job means new programming books to read. And new (to me) concepts in programming send my mind a&#8217;wandering. And when my mind wanders it almost always leads itself back to table top RPGs.<\/p>\n<p>So here&#8217;s another brainstorming post on a lack randomness in games. And no, this one has nothing to do with the diceless game I keep telling myself I&#8217;m writing.<\/p>\n<p><!--more--><\/p>\n<p>Today&#8217;s Ruby reading brought me to . The layman&#8217;s oversimplification is the it sets up the pseudo random number generator (RNG). Given a seed the RNG can produce a series of numbers that look random. But if you keep using the same seed, you&#8217;ll keep getting the same sequence of random numbers.<\/p>\n<p>My immediate reaction was why the fuck would I want to use that? I&#8217;m sure there&#8217;s some use in crypto or hashing functions or something. But those comes second. My first use case is almost always RPGs.<\/p>\n<p>Okay, let&#8217;s say you&#8217;re playing a game in Maptools or something similar. What use is fixing the RNG&#8217;s seed? That&#8217;d mean all die rolls repeat*. So what happens if you run a game like this?<\/p>\n<p>Groundhog Day. Sort of. Okay, not really. But in my head this is the Groundhog Day game. The players wouldn&#8217;t notice what was going on immediately. I suppose a spectacular set of rolls would make it more obvious (ie, a player would remember rolling 20 for his first roll of the night every single session) but I think players would pick up on the sequence sooner or later. I also think they&#8217;d have to game it. I&#8217;m not sure that&#8217;s something you could approach from the PC&#8217;s POV. Depends how metagamey the table is.<\/p>\n<p>Okay, so the players have figured out when their successes and failures happen. And if you&#8217;re sticking to the Groundhog Day theme maybe they&#8217;re stuck reliving a day. Cool story bro, what happens next?<\/p>\n<p>Well, if you&#8217;re me, it&#8217;s time to fuck with the players. Just when they think they have all the answers, I change the question.<\/p>\n<p>The predetermined random number sequence is only going to get them so far. I don&#8217;t really care if it lasts a single session or a single day in game, but it does end. Let&#8217;s just call it 50 die rolls per player (in D&amp;D, that might have to be 50 d20 rolls, or else the rogue and wizard run out of dice a whole lot sooner than the rest). Roll 51 is a 1. So is everything else. (At this point we&#8217;re no longer imposing a specific seed on a random number generator, but this is an exercise in game design rather than computer programming.) Whenever this happens should be far enough along into the session that the players aren&#8217;t guaranteed to notice it. I might even go so far as to only figure this out a few sessions in once the players have figured out the existence of the sequence.<\/p>\n<p>Did I mention changing the question? Roll 50 isn&#8217;t the end of all things. It&#8217;s just the end of all things on the first day. The next day\/session gets them 49 good rolls, and then everything comes up 1 (which is the exact opposite of everything coming up Millhouse). Next day 48 rolls from the sequence. Etc.<\/p>\n<p>As the players figure out what&#8217;s going on in the world, their ability to affect it diminishes. I find that very interesting. I actually find that more interesting than the single repeated day scenario the players may or may not be stuck in.<\/p>\n<p>So what&#8217;s going on? Well, it&#8217;s gotta be on the cosmic or metaphysical scale. But it&#8217;s gotta be something the players can affect from day one, because they&#8217;re not likely to get more powerful with so few die rolls remaining. Some ideas include:<\/p>\n<ul>\n<li>Evil god making a power grab<\/li>\n<\/ul>\n<ul>\n<li>Doctor Who done fucked up<\/li>\n<\/ul>\n<ul>\n<li>Unnamed time travelers fucked up<\/li>\n<\/ul>\n<ul>\n<li>Yo dawg, I heard you liked Bags of Holding so we put Bags of Holding in your Bags of Holding.<\/li>\n<\/ul>\n<ul>\n<li>Something that doesn&#8217;t exist in a rule book<\/li>\n<\/ul>\n<ul>\n<li>Time Stop gone awry.<\/li>\n<\/ul>\n<p>I&#8217;m not really in love with any of these ideas.\u00c2\u00a0 I feel like I could make any of them work, but none sticks out to me as a clear winner.<\/p>\n<p>I&#8217;m also not sure how the players would overcome this, but that&#8217;s their problem, not mine.<\/p>\n<p>* Actually that&#8217;s a lie. When you ask the computer for a random number you get something between 0 and 1, then multiply and round that to get a die value. The series of numbers between 0 and 1 will be the same, but the results you get out of the dice is going to depend what dice you throw. ie, a 0.5 is going to be a 10 on a d20 but a 3 on a d6. Depending on which dice are rolled, at which position on the set, it&#8217;ll look like you get different results. For the sake of discussion let&#8217;s assume there&#8217;s a series of d20 results, a series of d6 results, etc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First off, yes I realize it&#8217;s been a while since I&#8217;ve posted. I have a new job and a new baby, so no blog posts is simply a reality. I&#8217;m not even going to apologize for it. But, new job means new programming books to read. And new (to me) concepts in programming send my [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[84],"tags":[],"class_list":["post-344","post","type-post","status-publish","format-standard","hentry","category-brainstorming"],"_links":{"self":[{"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=\/wp\/v2\/posts\/344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=344"}],"version-history":[{"count":1,"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=\/wp\/v2\/posts\/344\/revisions"}],"predecessor-version":[{"id":345,"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=\/wp\/v2\/posts\/344\/revisions\/345"}],"wp:attachment":[{"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=344"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gm.sagotsky.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}