Mines
25 tiles, some of them mines. Each safe tile opened raises the prize; a mine ends the round; the player may take the prize after any safe tile.
- Kind
- steps with a cash-out
- Largest win
- 5,148,297x the stake
- Name in the files
- mines
- Version
- 45eab134847a
Download this engine as one file
What the player sets
- mines: 1 to 24
Every round also takes the return dial in basis points, 9600 to 9900, and a stake.
The round, in order
- nothing is drawn at the start: no tile holds anything until it is opened
- the table is set at the start: after k safe tiles the prize is rtp x C(25,k) div C(25-mines,k) (x10k)
- each pick opens a tile the player names: r = int_below(the tiles not opened yet, this one among them); the tile is a mine when r < mines. A mine ends the round with nothing, a safe tile adds one to k
- opening every safe tile ends the round with the top prize
- when the round ends, the mines not found are placed for the picture, with the draws of the step that ended it: shuffle the tiles not opened (in rising order) and take the first
minesof the result; after a mine was hit take one fewer, the tile hit being the other. When every safe tile was opened, the tiles left are the mines and nothing is drawn. This changes no pay
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 the player may do
- pick (a tile 0 to 24 not opened yet)
- cashout: take the prize for the safe tiles opened so far (at least one)
What it pays
With j tiles opened safely, the next is safe with chance (25-mines-j)/(25-j): the same as on a field where the mines were laid beforehand. So C(25-mines,k) / C(25,k) is the chance of k safe tiles in a row, and the return is the dial wherever the player stops.
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%
1 mineslargest win 24x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1x | 96% (24/25) |
| 2 | 1.0434x | 95.9928% (119991/125000) |
| 3 | 1.0909x | 95.9992% (119999/125000) |
| 4 | 1.1428x | 95.9952% (59997/62500) |
| 5 | 1.2x | 96% (24/25) |
| 6 | 1.2631x | 95.9956% (239989/250000) |
| 7 | 1.3333x | 95.9976% (119997/125000) |
| 8 | 1.4117x | 95.9956% (239989/250000) |
| 9 | 1.5x | 96% (24/25) |
| 10 | 1.6x | 96% (24/25) |
| 11 | 1.7142x | 95.9952% (59997/62500) |
| 12 | 1.8461x | 95.9972% (239993/250000) |
| 13 | 2x | 96% (24/25) |
| 14 | 2.1818x | 95.9992% (119999/125000) |
| 15 | 2.4x | 96% (24/25) |
| 16 | 2.6666x | 95.9976% (119997/125000) |
| 17 | 3x | 96% (24/25) |
| 18 | 3.4285x | 95.998% (47999/50000) |
| 19 | 4x | 96% (24/25) |
| 20 | 4.8x | 96% (24/25) |
| 21 | 6x | 96% (24/25) |
| 22 | 8x | 96% (24/25) |
| 23 | 12x | 96% (24/25) |
| 24 | 24x | 96% (24/25) |
3 mineslargest win 2,208x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.0909x | 95.9992% (119999/125000) |
| 2 | 1.2467x | 95.9959% (959959/1000000) |
| 3 | 1.4337x | 95.9955% (1103949/1150000) |
| 4 | 1.6601x | 95.997% (2207933/2300000) |
| 5 | 1.9368x | 95.9979% (137997/143750) |
| 6 | 2.2786x | 95.9984% (11039817/11500000) |
| 7 | 2.7058x | 95.997% (689979/718750) |
| 8 | 3.247x | 95.9982% (55199/57500) |
| 9 | 3.9428x | 95.9986% (68999/71875) |
| 10 | 4.8527x | 95.999% (4415957/4600000) |
| 11 | 6.0659x | 95.9994% (5519969/5750000) |
| 12 | 7.7202x | 95.999% (5519943/5750000) |
| 13 | 10.0363x | 95.9993% (1103993/1150000) |
| 14 | 13.3818x | 95.9998% (2207997/2300000) |
| 15 | 18.4x | 96% (24/25) |
| 16 | 26.2857x | 95.9999% (5519997/5750000) |
| 17 | 39.4285x | 95.9998% (551999/575000) |
| 18 | 63.0857x | 95.9999% (4415999/4600000) |
| 19 | 110.4x | 96% (24/25) |
| 20 | 220.8x | 96% (24/25) |
| 21 | 552x | 96% (24/25) |
| 22 | 2,208x | 96% (24/25) |
5 mineslargest win 51,004.8x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.2x | 96% (24/25) |
| 2 | 1.5157x | 95.9943% (287983/300000) |
| 3 | 1.9368x | 95.9979% (137997/143750) |
| 4 | 2.5065x | 95.9999% (4857597/5060000) |
| 5 | 3.2897x | 95.9975% (10625731/11068750) |
| 6 | 4.3863x | 95.9982% (42503247/44275000) |
| 7 | 5.9529x | 95.9993% (3035979/3162500) |
| 8 | 8.2425x | 95.9996% (242879/253000) |
| 9 | 11.6769x | 95.9998% (1517997/1581250) |
| 10 | 16.9846x | 95.9999% (1103999/1150000) |
| 11 | 25.4769x | 95.9999% (1103999/1150000) |
| 12 | 39.6307x | 95.9998% (15455973/16100000) |
| 13 | 64.4x | 96% (24/25) |
| 14 | 110.4x | 96% (24/25) |
| 15 | 202.4x | 96% (24/25) |
| 16 | 404.8x | 96% (24/25) |
| 17 | 910.8x | 96% (24/25) |
| 18 | 2,428.8x | 96% (24/25) |
| 19 | 8,500.8x | 96% (24/25) |
| 20 | 51,004.8x | 96% (24/25) |
10 mineslargest win 3,138,009.6x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.6x | 96% (24/25) |
| 2 | 2.7428x | 95.998% (47999/50000) |
| 3 | 4.8527x | 95.999% (4415957/4600000) |
| 4 | 8.8967x | 95.9999% (24287991/25300000) |
| 5 | 16.9846x | 95.9999% (1103999/1150000) |
| 6 | 33.9692x | 95.9999% (1103999/1150000) |
| 7 | 71.7128x | 95.9999% (10487997/10925000) |
| 8 | 161.3538x | 95.9999% (10487997/10925000) |
| 9 | 391.8593x | 95.9999% (356591963/371450000) |
| 10 | 1,044.9582x | 95.9999% (75071997/78200000) |
| 11 | 3,134.8747x | 95.9999% (124031999/129200000) |
| 12 | 10,972.0615x | 96% (285273599/297160000) |
| 13 | 47,545.6x | 96% (24/25) |
| 14 | 285,273.6x | 96% (24/25) |
| 15 | 3,138,009.6x | 96% (24/25) |
12 mineslargest win 4,992,288x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.8461x | 95.9972% (239993/250000) |
| 2 | 3.6923x | 95.9998% (479999/500000) |
| 3 | 7.7202x | 95.999% (5519943/5750000) |
| 4 | 16.9846x | 95.9999% (1103999/1150000) |
| 5 | 39.6307x | 95.9998% (15455973/16100000) |
| 6 | 99.0769x | 95.9999% (38639991/40250000) |
| 7 | 268.923x | 95.9999% (10487997/10925000) |
| 8 | 806.7692x | 95.9999% (26219999/27312500) |
| 9 | 2,743.0153x | 95.9999% (356591989/371450000) |
| 10 | 10,972.0615x | 96% (285273599/297160000) |
| 11 | 54,860.3076x | 96% (1782959997/1857250000) |
| 12 | 384,022.1538x | 96% (24961439997/26001500000) |
| 13 | 4,992,288x | 96% (24/25) |
24 mineslargest win 24x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 24x | 96% (24/25) |
Dial at 97.5%
1 mineslargest win 24.38x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.0156x | 97.4976% (15234/15625) |
| 2 | 1.0597x | 97.4924% (243731/250000) |
| 3 | 1.1079x | 97.4952% (121869/125000) |
| 4 | 1.1607x | 97.4988% (243747/250000) |
| 5 | 1.2187x | 97.496% (12187/12500) |
| 6 | 1.2828x | 97.4928% (60933/62500) |
| 7 | 1.3541x | 97.4952% (121869/125000) |
| 8 | 1.4338x | 97.4984% (121873/125000) |
| 9 | 1.5234x | 97.4976% (15234/15625) |
| 10 | 1.625x | 97.5% (39/40) |
| 11 | 1.741x | 97.496% (12187/12500) |
| 12 | 1.875x | 97.5% (39/40) |
| 13 | 2.0312x | 97.4976% (15234/15625) |
| 14 | 2.2159x | 97.4996% (243749/250000) |
| 15 | 2.4375x | 97.5% (39/40) |
| 16 | 2.7083x | 97.4988% (243747/250000) |
| 17 | 3.0468x | 97.4976% (15234/15625) |
| 18 | 3.4821x | 97.4988% (243747/250000) |
| 19 | 4.0625x | 97.5% (39/40) |
| 20 | 4.875x | 97.5% (39/40) |
| 21 | 6.0937x | 97.4992% (60937/62500) |
| 22 | 8.125x | 97.5% (39/40) |
| 23 | 12.1875x | 97.5% (39/40) |
| 24 | 24.375x | 97.5% (39/40) |
3 mineslargest win 2,242.5x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.1079x | 97.4952% (121869/125000) |
| 2 | 1.2662x | 97.4974% (487487/500000) |
| 3 | 1.4561x | 97.4953% (1121197/1150000) |
| 4 | 1.686x | 97.4947% (112119/115000) |
| 5 | 1.9671x | 97.4997% (1121247/1150000) |
| 6 | 2.3142x | 97.4982% (11212299/11500000) |
| 7 | 2.7481x | 97.4978% (1401531/1437500) |
| 8 | 3.2977x | 97.4972% (560609/575000) |
| 9 | 4.0044x | 97.4984% (70077/71875) |
| 10 | 4.9285x | 97.4985% (896987/920000) |
| 11 | 6.1607x | 97.4997% (5606237/5750000) |
| 12 | 7.8409x | 97.4998% (11212487/11500000) |
| 13 | 10.1931x | 97.4992% (1121241/1150000) |
| 14 | 13.5909x | 97.4999% (4484997/4600000) |
| 15 | 18.6875x | 97.5% (39/40) |
| 16 | 26.6964x | 97.4998% (1401561/1437500) |
| 17 | 40.0446x | 97.4998% (1401561/1437500) |
| 18 | 64.0714x | 97.4999% (2242499/2300000) |
| 19 | 112.125x | 97.5% (39/40) |
| 20 | 224.25x | 97.5% (39/40) |
| 21 | 560.625x | 97.5% (39/40) |
| 22 | 2,242.5x | 97.5% (39/40) |
5 mineslargest win 51,801.75x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.2187x | 97.496% (12187/12500) |
| 2 | 1.5394x | 97.4953% (146243/150000) |
| 3 | 1.9671x | 97.4997% (1121247/1150000) |
| 4 | 2.5456x | 97.4974% (1541679/1581250) |
| 5 | 3.3411x | 97.4974% (1541679/1581250) |
| 6 | 4.4549x | 97.4996% (43167981/44275000) |
| 7 | 6.0459x | 97.499% (3083409/3162500) |
| 8 | 8.3713x | 97.4997% (18500573/18975000) |
| 9 | 11.8593x | 97.4993% (1541709/1581250) |
| 10 | 17.25x | 97.5% (39/40) |
| 11 | 25.875x | 97.5% (39/40) |
| 12 | 40.25x | 97.5% (39/40) |
| 13 | 65.4062x | 97.4999% (981093/1006250) |
| 14 | 112.125x | 97.5% (39/40) |
| 15 | 205.5625x | 97.5% (39/40) |
| 16 | 411.125x | 97.5% (39/40) |
| 17 | 925.0312x | 97.4999% (2312578/2371875) |
| 18 | 2,466.75x | 97.5% (39/40) |
| 19 | 8,633.625x | 97.5% (39/40) |
| 20 | 51,801.75x | 97.5% (39/40) |
10 mineslargest win 3,187,041x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.625x | 97.5% (39/40) |
| 2 | 2.7857x | 97.4995% (194999/200000) |
| 3 | 4.9285x | 97.4985% (896987/920000) |
| 4 | 9.0357x | 97.4998% (24667461/25300000) |
| 5 | 17.25x | 97.5% (39/40) |
| 6 | 34.5x | 97.5% (39/40) |
| 7 | 72.8333x | 97.4999% (85214961/87400000) |
| 8 | 163.875x | 97.5% (39/40) |
| 9 | 397.9821x | 97.4999% (362163711/371450000) |
| 10 | 1,061.2857x | 97.4999% (2897309961/2971600000) |
| 11 | 3,183.8571x | 97.4999% (2897309961/2971600000) |
| 12 | 11,143.5x | 97.5% (39/40) |
| 13 | 48,288.5x | 97.5% (39/40) |
| 14 | 289,731x | 97.5% (39/40) |
| 15 | 3,187,041x | 97.5% (39/40) |
12 mineslargest win 5,070,292.5x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.875x | 97.5% (39/40) |
| 2 | 3.75x | 97.5% (39/40) |
| 3 | 7.8409x | 97.4998% (11212487/11500000) |
| 4 | 17.25x | 97.5% (39/40) |
| 5 | 40.25x | 97.5% (39/40) |
| 6 | 100.625x | 97.5% (39/40) |
| 7 | 273.125x | 97.5% (39/40) |
| 8 | 819.375x | 97.5% (39/40) |
| 9 | 2,785.875x | 97.5% (39/40) |
| 10 | 11,143.5x | 97.5% (39/40) |
| 11 | 55,717.5x | 97.5% (39/40) |
| 12 | 390,022.5x | 97.5% (39/40) |
| 13 | 5,070,292.5x | 97.5% (39/40) |
24 mineslargest win 24.38x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 24.375x | 97.5% (39/40) |
Dial at 99%
1 mineslargest win 24.75x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.0312x | 98.9952% (15468/15625) |
| 2 | 1.076x | 98.992% (6187/6250) |
| 3 | 1.125x | 99% (99/100) |
| 4 | 1.1785x | 98.994% (49497/50000) |
| 5 | 1.2375x | 99% (99/100) |
| 6 | 1.3026x | 98.9976% (123747/125000) |
| 7 | 1.375x | 99% (99/100) |
| 8 | 1.4558x | 98.9944% (123743/125000) |
| 9 | 1.5468x | 98.9952% (15468/15625) |
| 10 | 1.65x | 99% (99/100) |
| 11 | 1.7678x | 98.9968% (61873/62500) |
| 12 | 1.9038x | 98.9976% (123747/125000) |
| 13 | 2.0625x | 99% (99/100) |
| 14 | 2.25x | 99% (99/100) |
| 15 | 2.475x | 99% (99/100) |
| 16 | 2.75x | 99% (99/100) |
| 17 | 3.0937x | 98.9984% (30937/31250) |
| 18 | 3.5357x | 98.9996% (247499/250000) |
| 19 | 4.125x | 99% (99/100) |
| 20 | 4.95x | 99% (99/100) |
| 21 | 6.1875x | 99% (99/100) |
| 22 | 8.25x | 99% (99/100) |
| 23 | 12.375x | 99% (99/100) |
| 24 | 24.75x | 99% (99/100) |
3 mineslargest win 2,277x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.125x | 99% (99/100) |
| 2 | 1.2857x | 98.9989% (989989/1000000) |
| 3 | 1.4785x | 98.9952% (227689/230000) |
| 4 | 1.712x | 98.9982% (14231/14375) |
| 5 | 1.9973x | 98.9966% (1138461/1150000) |
| 6 | 2.3498x | 98.998% (11384781/11500000) |
| 7 | 2.7904x | 98.9985% (355776/359375) |
| 8 | 3.3485x | 98.9991% (113849/115000) |
| 9 | 4.066x | 98.9982% (14231/14375) |
| 10 | 5.0043x | 98.9981% (4553913/4600000) |
| 11 | 6.2554x | 98.9985% (2846207/2875000) |
| 12 | 7.9615x | 98.9995% (2276989/2300000) |
| 13 | 10.35x | 99% (99/100) |
| 14 | 13.8x | 99% (99/100) |
| 15 | 18.975x | 99% (99/100) |
| 16 | 27.1071x | 98.9998% (5692491/5750000) |
| 17 | 40.6607x | 98.9999% (2846249/2875000) |
| 18 | 65.0571x | 98.9999% (4553997/4600000) |
| 19 | 113.85x | 99% (99/100) |
| 20 | 227.7x | 99% (99/100) |
| 21 | 569.25x | 99% (99/100) |
| 22 | 2,277x | 99% (99/100) |
5 mineslargest win 52,598.7x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.2375x | 99% (99/100) |
| 2 | 1.5631x | 98.9963% (296989/300000) |
| 3 | 1.9973x | 98.9966% (1138461/1150000) |
| 4 | 2.5848x | 98.9988% (3130839/3162500) |
| 5 | 3.3925x | 98.9974% (19057/19250) |
| 6 | 4.5234x | 98.9988% (3130839/3162500) |
| 7 | 6.1389x | 98.9988% (3130839/3162500) |
| 8 | 8.5001x | 98.9998% (18785221/18975000) |
| 9 | 12.0418x | 98.9997% (782717/790625) |
| 10 | 17.5153x | 98.9995% (2276989/2300000) |
| 11 | 26.273x | 98.9997% (341549/345000) |
| 12 | 40.8692x | 98.9999% (3984747/4025000) |
| 13 | 66.4125x | 99% (99/100) |
| 14 | 113.85x | 99% (99/100) |
| 15 | 208.725x | 99% (99/100) |
| 16 | 417.45x | 99% (99/100) |
| 17 | 939.2625x | 99% (99/100) |
| 18 | 2,504.7x | 99% (99/100) |
| 19 | 8,766.45x | 99% (99/100) |
| 20 | 52,598.7x | 99% (99/100) |
10 mineslargest win 3,236,072.4x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.65x | 99% (99/100) |
| 2 | 2.8285x | 98.9975% (39599/40000) |
| 3 | 5.0043x | 98.9981% (4553913/4600000) |
| 4 | 9.1747x | 98.9997% (1088997/1100000) |
| 5 | 17.5153x | 98.9995% (2276989/2300000) |
| 6 | 35.0307x | 98.9998% (4553991/4600000) |
| 7 | 73.9538x | 98.9999% (43262973/43700000) |
| 8 | 166.3961x | 98.9999% (21631493/21850000) |
| 9 | 404.1049x | 98.9999% (367735459/371450000) |
| 10 | 1,077.6131x | 98.9999% (2941883763/2971600000) |
| 11 | 3,232.8395x | 98.9999% (588376789/594320000) |
| 12 | 11,314.9384x | 98.9999% (183867749/185725000) |
| 13 | 49,031.4x | 99% (99/100) |
| 14 | 294,188.4x | 99% (99/100) |
| 15 | 3,236,072.4x | 99% (99/100) |
12 mineslargest win 5,148,297x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 1.9038x | 98.9976% (123747/125000) |
| 2 | 3.8076x | 98.9976% (123747/125000) |
| 3 | 7.9615x | 98.9995% (2276989/2300000) |
| 4 | 17.5153x | 98.9995% (2276989/2300000) |
| 5 | 40.8692x | 98.9999% (3984747/4025000) |
| 6 | 102.173x | 98.9999% (3984747/4025000) |
| 7 | 277.3269x | 98.9999% (108157491/109250000) |
| 8 | 831.9807x | 98.9999% (108157491/109250000) |
| 9 | 2,828.7346x | 98.9999% (183867749/185725000) |
| 10 | 11,314.9384x | 98.9999% (183867749/185725000) |
| 11 | 56,574.6923x | 99% (7354709999/7429000000) |
| 12 | 396,022.8461x | 99% (7354709999/7429000000) |
| 13 | 5,148,297x | 99% (99/100) |
24 mineslargest win 24.75x
| Safe tiles opened | Pays | Exact return, stopping here |
|---|---|---|
| 1 | 24.75x | 99% (99/100) |
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 with a cap (choice). One round is one bet: the mines and the safe picks are set before the picking; one Storm game per mine count, at most 16 pick counts each (Storm's limit), pays capped at 10,000x; published and played on devnet 2 on 29 Nov.
On the templates it would take: a step template (a draw per step, a choice to stop). Storm lists it as not enabled.
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.
Nothing hidden is fixed when a round starts: what a step shows is drawn at that step. So the same file holds 36 more rounds played with a seed of its own for the start and for every action after it, as a round runs where each step’s randomness is formed only after the player has acted. The rules are the same; only the generator is started afresh at each step.