> For the complete documentation index, see [llms.txt](https://docs.overtime.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overtime.io/overtime-casino/games/quick-games/tumble.md).

# Tumble

Buy a round of 5 or 10 spins on a 6×5 pays-anywhere grid. Every bomb adds to one round multiplier that sticks until the last spin, and one Chainlink VRF word settles the whole round. Fully onchain.

**How it works**

Overtime Tumble is played in rounds you buy up front. Every spin of the round plays like a bonus spin.

1. You pick a round (**5 spins**, Quick, or **10 spins**, Steady), a price from 3 to 50 USD and a collateral. The price is exactly what you pay
2. The contract requests **one** random word from Chainlink VRF
3. That word seeds a stream of draws. Every cell of every spin comes from it, so the whole round resolves in the single VRF callback
4. Each spin fills a 6-column × 5-row grid. Any paying symbol that lands **8 or more times anywhere** pays, in three tiers: 8–9, 10–11 and 12+
5. **Cascade:** winning symbols are removed, the remaining symbols fall down their columns, new symbols drop in from the top, and the grid is evaluated again until it produces no win
6. **Bombs** can land on any spin. Each one adds its value to a **round multiplier** that multiplies the symbol win of the spin it lands on and of every spin after it
7. The payout is transferred in the same callback that resolved the round

***

**Price and base bet**

Every Tumble win is a multiple of the round's base bet, and the base bet is derived from your price:

```
baseBet = price / buyCost
buyCost = 502.95 (5 spins) or 1,621.07 (10 spins)
```

At a 10 USDC Steady price the base bet is 0.00617 USDC, so a 12+ Overtime logo pays 0.31 USDC before the multiplier, and 12.34 USDC under a ×40 round multiplier.

That isn't a stingier paytable. Tumble's paytable is the same as Cascade's; the price buys a much richer round. A Quick round costs 100.6 base bets per spin and a Steady round 162.1, against 10.2 for a bought Cascade free spin, because Tumble bombs go up to ×1000, they never reset during the round, and they keep multiplying every later spin even when the spin they landed on paid nothing. Later spins are worth more than earlier ones, because the multiplier has had longer to grow, so 10 spins are priced at 3.2 times the base bets of 5.

***

**Symbols and paytable**

Nine paying symbols, one scatter and bombs, all drawn on every spin. Multiples are of the base bet; the chance is per cell drawn.

| Symbol          | 8–9   | 10–11 | 12+ | Chance per cell |
| --------------- | ----- | ----- | --- | --------------- |
| Overtime logo   | 10×   | 25×   | 50× | 0.72%           |
| Trophy          | 2.5×  | 10×   | 25× | 1.25%           |
| Hot streak ball | 2×    | 5×    | 15× | 2.36%           |
| Gold medal      | 1.5×  | 2×    | 12× | 4.07%           |
| Stadium lights  | 1×    | 1.5×  | 10× | 6.56%           |
| Stopwatch       | 0.8×  | 1.2×  | 8×  | 10.49%          |
| Lightning bolt  | 0.5×  | 1×    | 5×  | 15.74%          |
| Football        | 0.4×  | 0.9×  | 4×  | 22.29%          |
| Whistle         | 0.25× | 0.75× | 2×  | 28.85%          |

| Scatter (Overtime clock) | 4 scatters | 5 scatters | 6+ scatters | Chance per cell |
| ------------------------ | ---------- | ---------- | ----------- | --------------- |
| Pays on any spin         | 3×         | 5×         | 100×        | 1.78%           |

Bombs take 5.90% of the draws. Several symbols can pay on the same grid. Scatters and bombs are never removed by a cascade, so a spin's scatter count is every scatter that landed during its whole cascade chain.

* **3+ scatters** in a spin add **5 more spins**, once per round, so a round has at most 10 (Quick) or 15 (Steady) spins. About half of Steady rounds and 3 in 10 Quick rounds get them
* Scatter pay is added on top of the spin's symbol win and is never multiplied
* Cascades are capped at **10 per spin** and **40 per round**. If a cap is reached, the last grid still pays; it just isn't refilled

***

**The round multiplier**

The round multiplier starts empty. Every bomb that lands adds its value to it, and it stays until the round ends.

* It multiplies the **whole** symbol win of the spin a bomb lands on, cascades before the bomb dropped included
* It multiplies every later spin too, including spins with no bomb of their own
* A bomb that lands on a spin without a win still charges the multiplier for the spins after it
* Until the first bomb lands, symbol wins are paid at face value

| Bomb | Chance | Bomb  | Chance            |
| ---- | ------ | ----- | ----------------- |
| ×2   | 40.95% | ×20   | 0.17%             |
| ×3   | 27.30% | ×25   | 1 in 1,456 bombs  |
| ×4   | 15.36% | ×50   | 1 in 3,641 bombs  |
| ×5   | 8.53%  | ×100  | 1 in 10,923 bombs |
| ×6   | 4.10%  | ×250  | 1 in 21,845 bombs |
| ×8   | 2.05%  | ×500  | 1 in 65,536 bombs |
| ×10  | 1.02%  | ×1000 | 1 in 65,536 bombs |
| ×15  | 0.41%  |       |                   |

These are the scaled thresholds the contract actually draws against (a draw is a 16-bit number, so the rarest bombs round to 1 in 65,536). The average bomb is worth ×3.36.

***

**Max win**

A round pays at most your price plus the per-game profit cap, currently **3,000 USD**:

```
capPayout = price + maxProfitUsd
```

The round ends the moment its running total reaches the cap: any remaining spins are forfeited and the cap is paid. The app shows it as "Max win at this price", and `getMaxPayout` returns it onchain.

| Price  | Max win   | As a multiple of the price |
| ------ | --------- | -------------------------- |
| 3 USD  | 3,003 USD | 1001×                      |
| 10 USD | 3,010 USD | 301×                       |
| 25 USD | 3,025 USD | 121×                       |
| 50 USD | 3,050 USD | 61×                        |

***

**Return to player**

There is no closed form for a cascade slot, so Tumble's weights, bomb table and buy prices are calibrated by Monte Carlo simulation (200 million rounds per option), and the calibration is documented in the contract source.

| Round            | RTP   | Round pays back at least the price |
| ---------------- | ----- | ---------------------------------- |
| 5 spins, Quick   | 97.9% | about 1 in 3 rounds                |
| 10 spins, Steady | 97.9% | about 2 in 5 rounds                |

Unlike Cascade, the profit cap barely touches Tumble's RTP: rounds big enough to reach it are rare enough that the figures above hold at every price from 3 to 50 USD.

You don't have to take these numbers on trust: every input is public state (`getConfig()`), and you can run the same simulation yourself.

***

**Recompute any round yourself**

Every round is a pure function of its VRF word and the math model, so anyone can replay it.

* **From the contract:** read `word`, `spins`, `baseBet` and `capPayout` from `getFullRecord(betId)` (or the `BetResolved` event), then call `simulateRound(word, spins, baseBet, capPayout)`. It returns the round result plus a trace of every grid evaluated, spin by spin and cascade by cascade, with the bombs, the running round multiplier and the win paid on each. The app's replay is built from exactly this
* **From scratch:** draw `k` is the 16-bit chunk `k mod 16` of `keccak256(abi.encode(word, k / 16))`. A draw maps to the first symbol whose scaled threshold is above it, where `threshold[s] = floor(Σ weight[0..s] × 65536 / Σ weight)`. The grid fills column by column, top row first; after a win, each column collapses and its empty top cells are drawn top to bottom, column by column. A bomb draw is followed by one more draw for its value. The stream carries on across every spin of the round

`simulateRound` replays under the **current** math model. The model is read when the VRF word arrives, not snapshotted at placement, and every change to it emits an event (`PaytableUpdated`, `WeightsUpdated`, `BombsUpdated`, `RoundConfigUpdated`, `BuyOptionsUpdated`). `BetResolved` records what each round actually paid. Your base bet and your max win are fixed when you buy.

***

**Limits**

| Parameter    | Value                                                                                            |
| ------------ | ------------------------------------------------------------------------------------------------ |
| Price        | 3 to 50 USD per round (configurable per game via core)                                           |
| Rounds       | 5 spins (Quick) or 10 spins (Steady)                                                             |
| Base bet     | `price / 502.95` (5 spins) or `price / 1,621.07` (10 spins)                                      |
| Max win      | `price + 3,000 USD`                                                                              |
| Bombs        | Any spin, ×2 to ×1000, added to a round multiplier that lasts the whole round                    |
| Extra spins  | +5 once per round on 3+ scatters in a spin                                                       |
| Cascades     | Up to 10 per spin, 40 per round; the last grid always pays                                       |
| RTP          | 97.9% for both rounds                                                                            |
| Edge guard   | None in code: there is no closed form. The model is public state and every change emits an event |
| Free bets    | Supported for both rounds                                                                        |
| Cancellation | Admin/resolver only (`adminCancelBet`), for a stalled VRF request; refunds the full price        |

Supported collaterals: **USDC**, **WETH**, **$OVER**. Free bets supported via the `isFreeBet` flag on `placeBet`. When a real-money round pays back less than its price, the referrer's share is paid automatically in the settling callback.

***

**User guide**

**1. Open Tumble**

Select **Tumble** from the casino lobby. Set your collateral.

**2. Pick a round and a price**

Choose **5 spins** or **10 spins** and enter a price. The panel shows the max win at that price.

**3. Buy the round**

Hit **Buy 5 spins** or **Buy 10 spins** and sign the transaction. The round waits for the Chainlink VRF response, usually 5 to 30 seconds.

**4. Watch the replay**

When the word arrives, the contract has already played and paid the whole round. The board then replays exactly the grids the contract evaluated: every spin, every cascade, every bomb charging the round multiplier.

**5. Payout**

Winnings land in your wallet in the settling transaction. Your history shows each round's spins played, final multiplier, payout and whether the max win was hit, and every round can be replayed.

***

**Onchain reference**

Tumble is a standalone game on the shared `CasinoCoreV2` treasury.

| Action                     | Call                                                                   |
| -------------------------- | ---------------------------------------------------------------------- |
| Buy a round                | `placeBet(collateral, price, spins, referrer, isFreeBet)`              |
| Base bet and max win quote | `getMaxPayout(collateral, price, spins)`                               |
| Live math model            | `getConfig()`                                                          |
| Replay a round             | `simulateRound(word, spins, baseBet, capPayout)`                       |
| Bet record                 | `getFullRecord(betId)`                                                 |
| History                    | `getUserBetIds(user, offset, limit)`, `getRecentBetIds(offset, limit)` |
| Lifetime stats per round   | `getStats(collateral, spins)`                                          |

`spins` is `5` or `10` (read `getConfig().buyOptions` for the live list). `price` is pulled in full. `status`: `0` NONE, `1` PENDING, `2` RESOLVED, `3` CANCELLED. Events to index: `BetPlaced`, `BetResolved` (carries the word, payout, uncapped win, spins played, final round multiplier and whether the cap was hit) and `BetCancelled`.

| Network  | `Tumble` (proxy)                             | `CasinoCoreV2` (approve this)                |
| -------- | -------------------------------------------- | -------------------------------------------- |
| Optimism | `0x92f24800734a95ea60fC08b1FAF64574Da66525F` | `0x4BACE3b2BC955C11166e35673c71Be1593b42F80` |
| Arbitrum | `0x9190e2003BF2BDBfa6504Fb21D23eAE63E8C9090` | `0xA9d5789824aBc53d52224BA6D4eF6d41E99d8699` |
| Base     | `0xF0A2db9f971518cA40C1fA7656e0B958819C3BAa` | `0xab487C74Bd9fb88Cea5D39F25C6a15C4A7734055` |

The price is pulled by `CasinoCoreV2`, so that's the contract your collateral approval goes to, not the game.

***

**Why this matters**

A sticky multiplier is the easiest thing in a slot to quietly tune. On a centralized site, the server decides how often the big bombs show up and when, and the only evidence you get is the RTP printed on the info screen.

On Overtime, the bomb table is public state, down to the 1 in 65,536 chance of a ×1000. The round you bought is fixed by one Chainlink VRF word that doesn't exist until your purchase is onchain, every grid and every charge of the round multiplier can be re-derived from that word, by the contract or by your own code, and the RTP is something you can simulate yourself before you buy. Verify it yourself.
