Check Wins
This node analyzes slot machine reel results to identify winning combinations and paylines.
The Check Wins node examines symbol grids to detect winning patterns based on paylines and paytables.
The Check Wins node is responsible for analyzing the symbols on the slot machine reels after a spin to identify which paylines contain winning combinations. It processes the symbol grid against defined paylines and paytables to determine all valid wins.
Data
| Data | Description |
|---|
| Reel Results | 2D array representing the symbol grid after a spin |
| Paylines | Array defining payline patterns |
| Paytable | Object defining winning symbol combinations |
Parameters
| Data | Description |
|---|
| Wild Symbol | Symbol ID that acts as wild (default: 9) |
| Minimum Symbols | Minimum consecutive symbols required for a win (default: 3) |
Actions
| Signal | Description |
|---|
| Do | Triggers the win checking process |
Outputs
Results
| Data | Description |
|---|
| Winning Lines | Array of winning line combinations found |
| Total Winning Lines | Count of winning lines detected |
Events
| Signal | Description |
|---|
| Done | Triggered when win checking is complete |
Usage
Win Detection Process
- Analyzes Each Payline: Iterates through all defined paylines
- Checks Symbol Sequences: Examines symbols along each payline path
- Handles Wild Symbols: Substitutes wilds for other symbols
- Validates Against Paytable: Confirms combinations exist in paytable
- Records Winning Lines: Stores details of each winning combination
Example Use Cases
- Standard Slot Games: Check traditional left-to-right paylines
- Multi-way Games: Analyze hundreds of potential winning combinations
- Feature Games: Special win checking for bonus rounds
- Demo Mode: Test win detection with different configurations