Fruit machine Probability Design

Source: Internet
Author: User
The fruit machine has eight basic images: a. Apple B, orange C, papaya D, Bell E, watermelon F, star G, 777 H, and dabai each have A "small image". The winning multiples are: 3. then there is a "Lucky location" between the left and right, which can produce jumps, flashes, and other effects. The overall situation is as follows:

 

Graphics Odds Standardization Minimum Public multiple
Apple 5 120 600
Orange 10 60 Total value of Standardization
Papaya 15 40 532
Bell 20 30  
Watermelon 20 30  
Double Star 30 20  
77 40 15  
Xiaobai 50 12  
Dabai 120 5  
Sample 3 200  
The standardization in the table is the proportion of the smallest public multiple. The minimum public multiple is used to coordinate the odds of different images. For example, if Apple's odds are, it should appear once if it is equal to 5 times, and 600 times if it is 120 times. In a similar way, all the different Ratios correspond to an integer, and then the random number is obtained in the range of this integer. If the random number is within the range of the specified image, it indicates that this image is in progress. The standard range is 600, which increases the difficulty of winning the prize. A minor adjustment will increase the probability of winning the prize. However, if it is less than 532, it is invalid. In this system, a reasonable explanation of less than 532 cannot be provided. This is interesting. If each event is excluded, it is impossible to see the event. This is probably the reason not to be less than 532, and 532 is the total number of events. If an event is not mutually exclusive, that is, a number of events occur at a time, you can ignore this rule. Demo download: fruit machine: http://files.cnblogs.com/Nobel/%E6%B0%B4%E6%9E%9C%E6%9C%BA.zip who knows the most detailed rules?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.