The maths gets pretty complex when you have to take into account the base game then there are bonus games and sometimes there are multiple of them etc. The payout percentages are normally in the 90% range but this varies, you can normally find the audit info for the casino and games. I was not involved with that part but there is a lot of work that goes into it and a lot of testing, even the pro's made mistakes. I used to work in the industry although it was on the online version, we did produce slot machines.It depends on what part you are interested in, there is the making of the game and then there is the maths.If you want to learn it all, I would start with the maths first.