Weighted probability

Real slot machines have something called a Paytable and Reel Strips (PARS) sheet, which is like the complete design document of the machine. The PARS sheet is used to specify what the payout percentage is, the winning patterns, what their prizes are, and so on. Obviously, the number of the payout prizes and the frequencies of such wins need to be carefully selected so that the house (the slot machine) always wins in the long run, while making sure to return something to the players from time to time to make the machine attractive to play. This is known as payback percentage or Return To Player (RTP). For example, a slot machine with a 90 percent RTP means that, over time, the machine will return an average of 90 percent ...

Get Unity Artificial Intelligence Programming - Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.