pixi-reels
All recipes

Hold & Win: upgrade a coin in place

A held coin climbs the value ladder (5 → 10 → 25 → 50 → 100) with a flip-and-pop flourish — no respin, no cell movement. The new tier lives in coin.data; the label is just repainted.

Loading recipe…

Press Run. Every coin starts at 5.00; each press promotes the whole board one rung up the ladder — 5 → 10 → 25 → 50 → 100 — flipping the coin and popping the new amount. When everything is maxed, the next press reseeds.

Upgrading is data + a repaint

A tier upgrade doesn’t move or re-spin anything. The value lives in coin.data; the recipe bumps it, plays the coin’s own one-turn flourish (which reads as the coin flipping over), and repaints the label from the data:

coin.data.value = nextTier(coin.data.value);   // game state owns the value
board.symbolAt(coin.cell).playWin();           // the coin flips
paintLabel(coin.cell, coin.data.value);         // repaint from data

board.symbolAt(cell) hands back the live symbol so you can drive any animation it exposes; everything else on the board is undisturbed. To change the art on upgrade as well (a bronze coin becoming gold), swap the cell’s id with board.setSymbolAt(cell, id, data?) instead of only the label.