====== Lottery Combinations ====== ===== Overview ===== The main purpose of lottery combinations is to generate all possible combinations of the selected main pool balls. A number of combinations is determined for these bet markets: * Classic (Excl. Bonus); * Classic (Incl. Bonus); * In Order From 1st; * Crazy; * Classic + Bonus; * Classic + Color Bonus; * Bonus (only when lottery has a market to add **2** power balls to the selection - then it is possible to choose power balls combinations). ===== Cashier Interface ===== Lottery combinations functionality **can be turned on / off** by clicking on the button **Combinations** at the right top corner of the lottery screen. \\ \\ {{ :cashier:2023-11-14_17_29_24-combinations_button_2.png?1400 |}} \\ After selecting an individual lottery, the cashier is presented with the lottery's own dedicated screen where all betting options can be seen depending on the selected betting markets tab - **Number Bets**, **Extra Bets**, **Color Bets**. Betting market tabs are shown if the lottery has these betting markets enabled according to the lottery's configuration. \\ At **Number Bets** and **Color Bets** cashier can pick the balls by clicking on the numbers manually or pressing on the **Quick Pick** button to select balls automatically. \\ \\ A few sections depend on the lottery’s own configuration: * the size and type of balls pools (**Main**, **Power**, **Bonus**) - how many and what specific type of balls are in the pools; * selection size - how many balls from pools could be selected. If selection is full, balls (color) in the pools are inactive to select. Important: if you want to change a ball of the selection manually, you should deselect a ball from the selection and add the other ball (color); * the color set - which one could be added to the selection. \\ {{ :cashier:2023-11-13_13_27_14-lottery_comb._numbers_2.png?1400 |}} ==== Quick Pick ==== Balls can be added to the selection automatically by using the **Quick Pick** function. {{ :cashier:2023-11-09_13_19_19-quick_pick.png?nolink&450|}} When pressing on Quick Pick, the modal appears. If the lottery has bonus, power balls or color betting markets, it can be added to the selection by marking a checkbox at the **Quick Pick** modal. \\ \\ The order of the actions is important: - At first, the checkmark of bonus, power ball or color should be marked. - Number of balls should be selected. - **Quick Pick** modal closes and then the filled selection is shown. \\ \\ \\ \\ ==== Last Selection ==== Using **Last Selection** function, the selection is filled with the balls which were chosen and added to the bet slip before. **Last Selection** becomes active when any bet is added to the betting slip by using the previous balls selection which was created before. \\ \\ {{ :cashier:last_selection.gif?1400 |}} ===== Combinations Number ===== Lottery combinations depend on the selection of the balls. For example, your selection contains 3 balls (their numbers could be 11, 2, 7) from the Main Pool and it is selected that 2 balls from the selection will be drawn. Then all possible combinations of the selected balls should be 11- 2, 11-7 and 2-7 - in this case 3 combinations. \\ The number of all possible combinations is calculated by using formula: \\ \\ //combinations = n! / (k! * (n - k)!)// \\ \\ where //n// - number of balls selected from the pool (bonus, power balls and colors are not included in the combinations calculation), //k// - number of drawn balls. ===== Combinations Betting ===== === Number Bets combinations === {{ :cashier:placing_a_bet_number_bets_1.gif?1400 |}} \\ === Color Bets combinations === {{ :cashier:placing_a_bet_color_bets_1.gif?1400 |}}