title: slot machine payout calculation
body: <p>I want to create a <strong>5 reels slot machine calculation system</strong> and I'm not sure what approach to take.</p>
  
  <p>I understand that there is a lot of math within it, especially if I want the machine to be enjoyable to a player.</p>
  
  <p>Are there any tips/links for that? Was looking for info at the web but they discuss on it from the player's perspective rather than the developer's perspective, in all cases I've found.</p>
  
  <p>Just to make it clear; I'm not after the user interface stuff, but <strong>only after the internal machine's payout calculation</strong>, which will make sure the house gets a revenue while maintaining good playability.</p>
  
  <p>Programming language would be C++, yet I'm fine with others.</p>