Every engine
03Engine

Slots

One draw against a table of prizes. Three tables ("feels") trade many small wins against rare large ones.

Kind
one draw, weighted table
Largest win
2,000x the stake
Name in the files
slots
Version
2bfe33bfa68c

Download this engine as one file

What the player sets

  • feel: small wins often, balanced, or rare big wins

Every round also takes the return dial in basis points, 9600 to 9900, and a stake.

The round, in order

  1. the table for the feel and the dial is a list of (prize, weight); the weights and a losing remainder add up to 10000000. tiers in the file gives each feel's prizes and shares, so the table can be made at any dial value
  2. r = int_below(10000000)
  3. the first row whose running weight is above r is the prize; past every row the spin loses

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 prize times the stake. Each row's weight is (its share of the return) x rtp x 10^7 / (10000 x prize), rounded down, so the table returns the dial or just under it. The reels drawn on the screen are a picture of the prize, not its source.

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%

balancedexact return 96% (24/25) · largest win 500x
PaysWeight, of 10,000,000Chance
500x7680.00768%
100x6,7200.0672%
25x42,2400.4224%
10x134,4001.344%
5x326,4003.264%
2x1,200,00012%
1x2,112,00021.12%
0 (the spin loses)6,177,47261.77472%
rare big winsexact return 96% (24/25) · largest win 2,000x
PaysWeight, of 10,000,000Chance
2,000x3840.00384%
500x1,9200.0192%
100x12,4800.1248%
25x57,6000.576%
10x153,6001.536%
5x307,2003.072%
2x1,056,00010.56%
0 (the spin loses)8,410,81684.10816%
small wins oftenexact return 96% (24/25) · largest win 250x
PaysWeight, of 10,000,000Chance
250x1,1520.01152%
50x11,5200.1152%
20x43,2000.432%
10x115,2001.152%
5x307,2003.072%
2x1,248,00012.48%
1x2,688,00026.88%
0 (the spin loses)5,585,72855.85728%

Dial at 97.5%

balancedexact return 97.5% (39/40) · largest win 500x
PaysWeight, of 10,000,000Chance
500x7800.0078%
100x6,8250.06825%
25x42,9000.429%
10x136,5001.365%
5x331,5003.315%
2x1,218,75012.1875%
1x2,145,00021.45%
0 (the spin loses)6,117,74561.17745%
rare big winsexact return 97.5% (39/40) · largest win 2,000x
PaysWeight, of 10,000,000Chance
2,000x3900.0039%
500x1,9500.0195%
100x12,6750.12675%
25x58,5000.585%
10x156,0001.56%
5x312,0003.12%
2x1,072,50010.725%
0 (the spin loses)8,385,98583.85985%
small wins oftenexact return 97.5% (39/40) · largest win 250x
PaysWeight, of 10,000,000Chance
250x1,1700.0117%
50x11,7000.117%
20x43,8750.43875%
10x117,0001.17%
5x312,0003.12%
2x1,267,50012.675%
1x2,730,00027.3%
0 (the spin loses)5,516,75555.16755%

Dial at 99%

balancedexact return 99% (99/100) · largest win 500x
PaysWeight, of 10,000,000Chance
500x7920.00792%
100x6,9300.0693%
25x43,5600.4356%
10x138,6001.386%
5x336,6003.366%
2x1,237,50012.375%
1x2,178,00021.78%
0 (the spin loses)6,058,01860.58018%
rare big winsexact return 99% (99/100) · largest win 2,000x
PaysWeight, of 10,000,000Chance
2,000x3960.00396%
500x1,9800.0198%
100x12,8700.1287%
25x59,4000.594%
10x158,4001.584%
5x316,8003.168%
2x1,089,00010.89%
0 (the spin loses)8,361,15483.61154%
small wins oftenexact return 99% (99/100) · largest win 250x
PaysWeight, of 10,000,000Chance
250x1,1880.01188%
50x11,8800.1188%
20x44,5500.4455%
10x118,8001.188%
5x316,8003.168%
2x1,287,00012.87%
1x2,772,00027.72%
0 (the spin loses)5,447,78254.47782%

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: fits (weighted). Eight rows a table, three tables.

9 definitions are written out for this engine, one for each table at each dial point, in the shape of the weighted game Storm has published (GET /v1/games on Storm devnet 2, the one published game (template 1, weighted), read 19 Nov 2026). Limits they were held to: maxMultiple 10,000x, return 70% to 99%, rows 64. They have not been sent to Storm and Storm has not checked them. This one is slots/balanced@9900, 8 rows, return 99%:

{
 "rows": [
  {
   "multX1e4": "5000000",
   "weight": 396
  },
  {
   "multX1e4": "1000000",
   "weight": 3465
  },
  {
   "multX1e4": "250000",
   "weight": 21780
  },
  {
   "multX1e4": "100000",
   "weight": 69300
  },
  {
   "multX1e4": "50000",
   "weight": 168300
  },
  {
   "multX1e4": "20000",
   "weight": 618750
  },
  {
   "multX1e4": "10000",
   "weight": 1089000
  },
  {
   "multX1e4": "0",
   "weight": 3029009
  }
 ],
 "t": "weighted"
}

All of them are in this engine’s file and in the definitions file.

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.

small wins often, dial 9900
seed ec00b161d77808fe4df3bd30d0b640cc01b70b33c55e451b7fed15ed9039deab
settings {"feel":"small wins often"}
draws int_below(10000000) = 1114077
pays 2x (payX10k 20000)
balanced, dial 9900
seed 5cbf3be2f677daa8a85c2e77978e11e31dba1fe0676635457a4261134d5f039f
settings {"feel":"balanced"}
draws int_below(10000000) = 9888637
pays 0x (payX10k 0)

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.