This repository contains verification tools for various casino games.
- Server Seed:
d5b17cfd3e7a6bcde32de08b0587eb750961169e869323c6bc1c952fd56aa58a - Client Seed:
fb40e2d39c3b7f36722e534fa8a087e5 - Nonce:
7 - HMAC SHA256:
de07465c1eb48608e6992db3d813e4f2fbacae0fd256bd31318763086d9d2484
| House Edge | Result (Multiplier) |
|---|---|
| 2% | 7.38x |
| 1% | 7.46x |
- Absolute difference: 0.08x
- Percentage difference: 1.08% higher with 1% house edge
Conclusion: With a 1% house edge (vs 2%), the payout multiplier is approximately 0.08x higher (7.46x vs 7.38x). This demonstrates that a lower house edge results in a higher payout multiplier, as expected in the Limbo game mechanics.
The game result is calculated using:
seed = hmac_sha256(client_seed:nonce, server_seed)
r = parseInt(seed.slice(0, 13), 16)
X = r / 2^52
X = (100 - house_edge) / (1 - X)
result = max(1, floor(X) / 100)
- Server Seed:
8cc5ff99bb11f5e337ed86f88661286f300e6747a1dc0a394daba48d64a4b990 - Client Seed:
8ada83f6adfdcf1fe7c0231aa93809fb - Nonce:
0 - HMAC SHA256:
c9fe8116942b5834379f45c916da59f7b4ee0b7f9929ef14dbaa01b3b90629b0
| House Edge | Result (Roulette Number 0-36) |
|---|---|
| 2.7 | 18 |
| 2.700000000000003 | 18 |
| 2.700000000000000 | 18 |
| 1.0 (for comparison) | 18 |
- Result: Identical for all house edge values
- Roulette Number: 18 (same regardless of house edge)
Conclusion: The house edge parameter does not affect the roulette number calculation. The winning number (0-36) is determined solely by the cryptographic hash and remains constant regardless of the house edge value. The house edge affects payout calculations and odds, but not the actual winning number generated by the provably fair algorithm.
The roulette result is calculated using:
hash = hmac_sha256(client_seed:nonce, server_seed)
index = (parseInt(hash.substring(0, 15), 16) % 47)
num = parseInt(hash.substring(index, index + 14), 16) >> 3
result = floor((num * 2^-53) * 37)