Slots, played-out rounds
A slot whose every possible round was played out beforehand by its real rules: 6 columns of 5, a symbol pays with 8 or more of it anywhere, what paid is cleared and more drops in, scatters give free spins with multipliers. One draw picks a whole round.
- Kind
- one draw picks a whole round played out beforehand
- Largest win
- 5,000x the stake
- Name in the files
- slots (books)
- Version
- 6e5be709b5fd
Download this engine as one file
What the player sets
- feel: small wins often, balanced or rare big wins (the table of weights: how often each kind of round comes)
Every round also takes the return dial in basis points, 9600 to 9900, and a stake.
The round, in order
- the rounds: 120,000 rounds ("books") were played out once by the rules below and are kept in one file (
books: its name, its sha256, what each field is). A build loads the file and does not play the rounds again; round i is the file's i-th entry, counted from 0 - how a round was played: 6 columns of 5. Nine symbols (1 the richest) and a scatter land with the weights in
rules.lands. A symbol that lies 8 times or more anywhere on the grid pays byrules.pays(for 8 or 9, for 10 or 11, for 12 or more); what paid is cleared, what is above drops, new symbols fall in from the top, and the grid is counted again, as long as something pays - scatters are counted on the last grid of the spin: 4, 5 or 6 pay 3, 5 or 100 times the stake and give 10 free spins
- a free spin is played the same way, but each landing piece is a multiplier with the chance
rules.freeSpins.multiplierChance, its value by the weights inrules.freeSpins.multipliers; multipliers are not cleared. A free spin's win is multiplied by the sum of the multipliers on its last grid (not when it won nothing). 3 or more scatters in a free spin add 5 spins; a round has at most 60 free spins - the round pays the sum of its spins, cut at 5,000 times the stake
- each round has a weight for the feel. Start: 1000 when the round pays under 200 times the stake, 200 when under 1,000 times, 40 above that (one round among so many must not carry the return). small wins often: the weight x 13 div 10 for a pay above 0 and up to 5 times the stake, x 6 div 10 for 20 times or more. rare big wins: x 7 div 10 for a pay above 0 and up to 2 times, x 16 div 10 for 20 times or more. balanced: unchanged. The weight of each winning round is that number times 1000
- every round that pays nothing has one and the same weight z, set for the dial: z = (S / (rtp / 10000) - W) / L rounded up to a whole number, at least 1, where S is the sum over the winning rounds of weight x pay (pay in stakes), W the sum of their weights and L the number of losing rounds.
tablesgives z and the total weight at the three dial points - the order is: the winning rounds as they come in the file, then the losing rounds as they come in the file. r = int_below(total weight); the round picked is the first whose running weight is above r; nothing in the round is decided after the bet
The rounds: rain-books-drop-v2.json.gz, 120,000 rounds as one JSON list in a gzip. The JSON text inside is 25,473,177 bytes, sha256 f1aba360552ae7f2e8ac6402d029b64e7cb18d3332a9e24e954aea25a864367b. What each field is, and the rules the rounds were made by, are in this engine’s file under books and rules.
int_below(m) is a whole number from 0 to m-1: limit = 2^64 - (2^64 mod m); take values until v < limit; return v mod m. shuffle: Fisher-Yates from the end, j = int_below(i+1). Words: HMAC-SHA256(key = seed, "STORM-DRBG|" || u64be(j)), cut into big-endian u64s.
What it pays
The picked round's pay (in hundredths of the stake), at most 5,000 times the stake. The return is the sum of weight x pay over the total weight. Because z is rounded up it is never above the dial, and it is within one millionth of it: tables gives each one exactly.
Tables
The tables the round uses at three points of the dial, each with its exact return. A multiple is kept in the files as a whole number times 10,000, rounded down (Storm’s multX1e4); here it is written out.
Dial at 96%
The weightslargest win 955.4x
| Feel | Winning rounds | Losing rounds | Weight of each losing round | Total weight | Chance of a win | Exact return |
|---|---|---|---|---|---|---|
| balanced | 45,468 | 74,532 | 910,117 | 113,290,440,244 | 40.124833% (11364400000/28322610061) | 95.999945% |
| rare big wins | 45,468 | 74,532 | 1,060,026 | 115,645,917,832 | 31.682969% (4580007500/14455739729) | 95.99997% |
| small wins often | 45,468 | 74,532 | 927,137 | 127,246,334,884 | 45.694801% (14536240000/31811583721) | 95.999956% |
Dial at 97.5%
The weightslargest win 955.4x
| Feel | Winning rounds | Losing rounds | Weight of each losing round | Total weight | Chance of a win | Exact return |
|---|---|---|---|---|---|---|
| balanced | 45,468 | 74,532 | 886,732 | 111,547,509,424 | 40.751784% (2841100000/6971719339) | 97.499945% |
| rare big wins | 45,468 | 74,532 | 1,036,155 | 113,866,764,460 | 32.178011% (1832003000/5693338223) | 97.499957% |
| small wins often | 45,468 | 74,532 | 900,871 | 125,288,677,372 | 46.408791% (14536240000/31322169343) | 97.499973% |
Dial at 99%
The weightslargest win 955.4x
| Feel | Winning rounds | Losing rounds | Weight of each losing round | Total weight | Chance of a win | Exact return |
|---|---|---|---|---|---|---|
| balanced | 45,468 | 74,532 | 864,055 | 109,857,347,260 | 41.378753% (2272880000/5492867363) | 98.999987% |
| rare big wins | 45,468 | 74,532 | 1,013,007 | 112,141,497,724 | 32.673061% (9160015000/28035374431) | 98.999967% |
| small wins often | 45,468 | 74,532 | 875,401 | 123,390,347,332 | 47.122778% (14536240000/30847586833) | 98.999986% |
On Storm
In Storm’s core this engine is built from this page as written, with the settings and the largest win above, and is right when it reproduces the test rounds below. The rest of this part is about the templates Storm has live today, which is the way onto Storm until then.
Our reading against Storm’s templates: does not fit. 120,000 rounds in a file, not a table of 64 rows, and the grids come with the draw.
On the templates it would take: a round picked from thousands played out beforehand: far over 64 rows, and the grid has to come with the draw.
Check a build against ours
36 whole rounds, each from a seed given in the file. A build is right when, from the same seed, settings, dial and actions, it makes the same draws in the same order and pays the same amount. The seed of a test round is sha256("rain-engine-vector|<engine>|<case>|<rtp_bps>|<i>"), given in hex in each vector.
The rest are in this engine’s file, with the full result of each round. The reference build plays this engine and reproduces every one of them.