Customizing Winning Odds for Your Game
In the previous section, we learned how to create a card box or wheel box. Now, let's explore how to customize the odds of winning for your game.
Once you've created a box, you can add a new item to it and set the probability of winning for that item. To do this, select the item and locate the "Probability" field. Changing the value of this field will adjust the probability of winning for that particular item.
Setting the probability value to 0 will ensure that the item is not selected at all. Conversely, increasing the probability value will increase the chance of winning. The chance of winning is calculated by the sum of all probability values in the box.
In addition to setting the probability value, you can also adjust the "Quantity" field to set the number of items to be selected. For instance, in a card box, you can select multiple items. To do this, set the "Quantity" value to more than 1.
By taking these steps, you can fully customize the odds of winning in your game to create a unique and engaging experience for your players.