Spin Calculate
This node performs comprehensive spin calculations including reel generation, win detection, and payout computation.
The Spin Calculate node handles the complete mathematical calculation of a slot machine spin.
The Spin Calculate node orchestrates the complete slot machine spin calculation process, from reel symbol generation through win detection to final payout calculation. It serves as a comprehensive calculation engine for slot game mechanics.
Game Configuration
| Data | Description |
|---|
| Reel Strips | Symbol sequences for each reel |
| Paytable | Payout values for winning combinations |
| Paylines | Line patterns for win detection |
| Bet Amount | Player's bet for this spin |
| Data | Description |
|---|
| Random Seed | Seed for deterministic results (optional) |
Actions
| Signal | Description |
|---|
| Calculate | Executes the complete spin calculation |
Outputs
Spin Results
| Data | Description |
|---|
| Reel Results | Final symbol positions after spin |
| Winning Lines | All detected winning combinations |
| Total Win | Sum of all winnings from this spin |
| Win Details | Detailed breakdown of each win |
Events
| Signal | Description |
|---|
| Calculation Complete | Triggered when all calculations finish |
Usage
Complete Spin Processing
The Spin Calculate node handles the entire spin calculation pipeline:
- Reel Generation: Uses weighted randomization to determine symbol positions
- Win Detection: Analyzes all paylines for winning combinations
- Payout Calculation: Computes winnings based on paytable and bet amount
- Result Compilation: Packages all results into structured output
Example Use Cases
- Single Spin Processing: Calculate results for individual spins
- Batch Simulation: Process multiple spins for testing
- Game Validation: Verify spin mechanics and math accuracy
- Development Testing: Test game behavior with controlled inputs