Skip to main content

Reel Ways Check Wins

This node checks for winning combinations using the "Reel Ways" (adjacent symbols) mechanic.

The Reel Ways Check Wins node evaluates the reels for wins based on symbols appearing on consecutive reels from left to right, regardless of their vertical position.

The Reel Ways Check Wins node implements the "Ways to Win" logic (e.g., 243 ways, 1024 ways). Instead of fixed paylines, a win occurs if matching symbols appear on reel 1, reel 2, reel 3, etc., in any position on those reels.

Inputs

Data

DataDescription
ReelsThe 2D array of symbols.

Parameters

DataDescription
Number of SymbolsTotal unique symbols in the game.
Wild SymbolThe ID of the Wild symbol.
Free Spins SymbolThe ID of the Scatter symbol (usually ignored for standard ways checks).
Min Consecutive SymbolsMinimum number of reels required for a win. Default: 3.

Actions

SignalDescription
DoTriggers the check.

Outputs

Results

DataDescription
Winning LinesAn array of winning combinations found.

Events

SignalDescription
DoneTriggered when the check is complete.

Usage

243 Ways Game

  1. Generate a 5x3 reel set.
  2. Pass it to Reel Ways Check Wins.
  3. Set Min Consecutive Symbols to 3.
  4. Trigger Do.
  5. Pass Winning Lines to Reel Ways Calculate Winnings.

Detailed Behavior

  • Algorithm: It iterates through every symbol type. For each symbol, it checks if it appears on Reel 1. If so, it checks Reel 2, and so on.
  • Wilds: Wild symbols extend the chain for any symbol.
  • Multiplication: If Reel 1 has one "A", Reel 2 has two "A"s, and Reel 3 has one "A", that counts as 1 * 2 * 1 = 2 winning ways.

Troubleshooting

  • Performance: Checking "Ways" is more computationally intensive than fixed paylines. Ensure Number of Symbols is accurate to avoid checking unused IDs.