pixi-reels
All recipes

Hold & Win: row-complete jackpot

When a coin completes a full row, that row flashes coin by coin, the MINI plaque above the board fires, and the row's summed value flies up into it. Row detection is pure game logic over board.lockedCoins — the board has no notion of paying rows.

Loading recipe…

Press Run. Four coins already hold a row; the fifth lands to complete it, the row flashes left to right, the MINI plaque fires, and the row’s total flies up into it. Press again to reset.

”Rows pay” is your rule, not the board’s

The board tracks where coins are, not what a shape is worth. A row award is a check you run when a coin locks:

board.events.on('coin:locked', ({ coin }) => {
  const row = coin.cell.row;
  const inRow = board.lockedCoins.filter((c) => c.cell.row === row);
  if (!awarded.has(row) && inRow.length === COLS) rowJackpot(row);
});

rowJackpot flashes each coin (board.symbolAt(cell).playWin() in coinWaves order), plays the MINI plaque’s win, sums the row’s data.value, and bezierFlys the total up into the plaque. The same shape covers columns, diagonals, the four corners, or a full board — it’s only ever a predicate over board.lockedCoins.