Issue with slot34 (Dragon and the Fortune Pearl)
-
Currently, Slot34 saves a matrix after each spin to help choose the right payout. This is done by the AWP engine. However, the matrices are not diverse, making it hard to choose the right payout.
-
With 12 symbols and 15 cells, Slot34 can theoretically produce a trillion combinations. However, generating all of these would take over a century, making it impractical to store all results.
Solution
- Heuristic technique → Pattern generator
Pattern generator
-
Generate 1 million matrices and calculate their payouts.
-
Create a pattern from each matrix and map it to its payout.
-
For example: "4101": ["AW0BDSW0CEWW00D", "W0WWDS0WBEA0WCF"].
-
Explain:
-
The pattern takes the form payout → [Patterns of matrices].
-
W and S stand for wild and scatter.
-
Numbers stand for symbol ids, which indicate the winning symbol.
-
Characters stand for any symbol.
-
-
-
Construct a decision tree using the calculated payouts.
-
Load each pattern and identify the optimal one based on:
-
Payout
-
Filled matrix
-
Test & Report
Payout combined
| Payout range | Count | Patterns |
|---|---|---|
| 0 - 100 | 1499 | 313817 |
| 100 - 200 | 1498 | 105038 |
| 200 - 400 | 2052 | 29198 |
| 400 - 600 | 459 | 1732 |
| ≥ 600 | 47 | 142 |

AWP + payout combined
// awp setting
{Min: 0, Max: 23000, MinHitRate: 0.25, MaxHitRate: 0.85, RtpAdjustment: 0.01, MaxPayoutMultiplier: 300, Weightages: []float64{35, 25, 20, 10, 10}}
| payout_range | count | unique_matrix | % (unique / count) |
|---|---|---|---|
| 0.00 - 0.00 | 520591 | 406263 | 78.04 |
| 0.00 - 1.00 | 412679 | 368791 | 89.37 |
| 1.00 - 5.00 | 38538 | 36958 | 95.90 |
| 5.00 - 11.00 | 13522 | 13141 | 97.18 |
| 11.00 - 20.00 | 6679 | 6599 | 98.80 |
| 20.00 - 33.50 | 3442 | 3401 | 98.81 |
| 33.50 - 53.75 | 2169 | 2128 | 98.11 |
| 53.75 - 84.12 | 1294 | 1261 | 97.45 |
| 84.12 - 129.69 | 588 | 575 | 97.79 |
| 129.69 - 198.03 | 369 | 352 | 95.39 |
| 198.03 - 300.00 | 129 | 123 | 95.35 |

