title: slot machine payout calculation
body: <p>There's this <a href="https://stackoverflow.com/questions/3986249/slot-machine-payout-calculation">question</a> but it has nothing close to help me out here.</p>
  
  <p>Tried to find information about it on the internet yet this subject is so swarmed with articles on "how to win" or other non-related stuff that I could barely find anything. None worth posting here.</p>
  
  <p>My question is <strong><em>how would I assure a payout of 95% over a year</em></strong>?</p>
  
  <p>Theoretically, of course.<br>
  So far I can think of three obvious variables to consider within the calculation: Machine payout term (year in my case), total paid and total received in that term.</p>
  
  <p>Now I could simply <strong>shoot a random number between the paid/received gap and fix slots results</strong> to be shown to the player but I'm not sure this is how it's done.<br>
  This method however sounds reasonable, although it involves building the slots results backwards..</p>
  
  <p>I could also make a <strong>huge list of all possibilities</strong>, save them in a database randomized by order and simply poll one of them each time.<br>
  This got many flaws - the biggest one is the huge list I'm going to get (millions/billions/etc' records).</p>
  
  <p>I certainly hope this question will be marked with an "Answer" (:</p>