Every engine
03Engine

Limbo

The player names a multiple; a result is drawn; the bet wins when the result reaches the multiple.

Kind
one draw, a target multiple
Largest win
1,000,000x the stake
Name in the files
limbo
Version
bc4f161ac8a3

Download this engine as one file

What the player sets

  • targetX100: the multiple times 100, from 101 (1.01x) to 100000000 (1,000,000x)

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

The round, in order

  1. r = int_below(1000000000)
  2. result (x100) = the smaller of rtp x 10000000 div (r + 1) and 100000000; shown as at least 100 (1.00x)
  3. the bet wins when result >= targetX100

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

A win pays the target itself (targetX100 x 100, x10k). The chance of reaching a target T is (rtp x 10^7 div T) / 10^9, so the return is the dial at every target.

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%

result (x100) = min(rtp*10**7 // (draw+1), 100000000); wins when result >= target; pays the target

Nine targets across the rangelargest win 1,000,000x
TargetChanceExact return
1.01x95.049505% (950495049/1000000000)96% (95999999949/100000000000)
1.5x64% (16/25)96% (24/25)
2x48% (12/25)96% (24/25)
5x19.2% (24/125)96% (24/25)
10x9.6% (12/125)96% (24/25)
100x0.96% (6/625)96% (24/25)
1,000x0.096% (3/3125)96% (24/25)
10,000x0.0096% (3/31250)96% (24/25)
1,000,000x0.000096% (3/3125000)96% (24/25)

Dial at 97.5%

result (x100) = min(rtp*10**7 // (draw+1), 100000000); wins when result >= target; pays the target

Nine targets across the rangelargest win 1,000,000x
TargetChanceExact return
1.01x96.534653% (482673267/500000000)97.5% (48749999967/50000000000)
1.5x65% (13/20)97.5% (39/40)
2x48.75% (39/80)97.5% (39/40)
5x19.5% (39/200)97.5% (39/40)
10x9.75% (39/400)97.5% (39/40)
100x0.975% (39/4000)97.5% (39/40)
1,000x0.0975% (39/40000)97.5% (39/40)
10,000x0.00975% (39/400000)97.5% (39/40)
1,000,000x0.000097% (39/40000000)97.5% (39/40)

Dial at 99%

result (x100) = min(rtp*10**7 // (draw+1), 100000000); wins when result >= target; pays the target

Nine targets across the rangelargest win 1,000,000x
TargetChanceExact return
1.01x98.019802% (980198019/1000000000)99% (98999999919/100000000000)
1.5x66% (33/50)99% (99/100)
2x49.5% (99/200)99% (99/100)
5x19.8% (99/500)99% (99/100)
10x9.9% (99/1000)99% (99/100)
100x0.99% (99/10000)99% (99/100)
1,000x0.099% (99/100000)99% (99/100)
10,000x0.0099% (99/1000000)99% (99/100)
1,000,000x0.000099% (99/100000000)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 (range). Only with the target capped at 10,000x; ours goes to 1,000,000x.

On the templates it would take: the `range` template with the target capped at 10,000x (ours goes to 1,000,000x). Its params are not published.

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.

2x, dial 9900
seed 96ec611c6d21d2d1b50674265df9ee8ed21006b148da5b4294093b7441534e20
settings {"targetX100":200}
draws int_below(1000000000) = 33896098
pays 2x (payX10k 20000)
10x, dial 9900
seed e173cac4e59b1dd7cbe2762a183f90acf2bbb1d14fa7ace36e17079e3f4bbbde
settings {"targetX100":1000}
draws int_below(1000000000) = 515620338
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.