Slot Simulation
This node runs a high-speed simulation of the slot game logic.
The Slot Simulation node allows you to test the math model (RTP, Hit Frequency) by running thousands of spins instantly on the server.
The Slot Simulation node is a powerful development tool. Instead of spinning manually one by one, you can request the backend to simulate 10,000+ spins using the current game configuration. It returns statistical data like Return to Player (RTP) percentage and Hit Frequency.
Simulation Configuration
| Data | Description |
|---|
| Reel Strips | The reel strips to use. |
| Bet Amount | The bet per spin. |
| Number of Spins | How many spins to simulate. Max: 10,000. |
| Rows | Number of rows (e.g., 3). |
| Columns | Number of reels (e.g., 5). |
| Payout Formula | The formula used for paytable generation. |
| Result Precision | "Basic" (summary only) or "Detailed" (includes time series data). |
Plugins
| Data | Description |
|---|
| Free Spins | Enable/Disable free spins logic. |
| Cascading Reels | Enable/Disable cascading logic. |
| Reel Ways | Enable/Disable "Ways" logic (vs Paylines). |
Actions
| Signal | Description |
|---|
| Simulate | Starts the simulation. |
Outputs
Simulation Results
| Data | Description |
|---|
| RTP | Return to Player percentage (Total Winnings / Total Bets * 100). |
| Hit Frequency | Percentage of spins that resulted in a win. |
| Total Winnings | Total amount won. |
| Total Bets | Total amount bet. |
Detailed Results
| Data | Description |
|---|
| Total Free Spins Won | Total number of free spins triggered. |
| RTP Data Series | Array of RTP values over time (for plotting). |
Events
| Signal | Description |
|---|
| Success | Triggered when simulation completes. |
| Failure | Triggered if simulation fails. |
Usage
Balancing the Game
- Configure your game parameters (Reel Strips, Payout Formula).
- Set Number of Spins to 1000.
- Trigger Simulate.
- Check RTP. If it's too high (e.g., 150%), adjust your Payout Formula or Symbol Weights and try again.
- Aim for a target RTP (e.g., 96%).
Detailed Behavior
- Server-Side: The simulation runs on the XFORGE cloud engine to ensure speed and accuracy matching the real game logic.
- Plugins: Ensure you enable the same plugins (Free Spins, Cascading) that your actual game uses, or the stats will be wrong.
Troubleshooting
- Timeout: Simulating too many spins (e.g., >10,000) with complex logic (Cascading + Free Spins) might time out. Reduce the number of spins or complexity.