返回资讯中心
外部精选
软件工程
#开发者实时流

研究解析「可验证公平」赌博游戏的数学原理

来源标题:Against All Odds: The Mathematics of 'Provably Fair' Casino Games

一篇定量金融文章以名为 Plane Game 的 crash 类游戏为例,解析「可验证公平」赌博系统如何运作。这类系统用密码学让玩家验证每次结果都由固定输入生成:平台先用公开哈希承诺隐藏的 server seed,再与玩家控制的 client seed 和每笔下注的 nonce 结合,事后公开 server seed 供核对。

Hacker News 最新windsurfer2026/11/25 · 今天12 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

25 January 2026 · 4 min read ·Quantitative Finance

Gambling can be harmful and lead to significant losses. Participation is subject to local laws and age restrictions. Always gamble responsibly. Need help? Visit BeGambleAware.org

Crash games are online gambling games where players place bets on an increasing multiplier that can ‘crash’ at any moment. Players must cash out before the crash occurs; successful cash-outs yield the bet amount multiplied by the current multiplier, while failure results in total loss of the wager.

The game I came across uses an aircraft flight metaphor. Let’s call it Plane Game. What intrigued me wasn’t the game itself but that it said “provably fair” on the startup screen, which I assumed to be a typo at first. I stand corrected:

A provably fair gambling system uses cryptography to let players verify that each outcome was generated from fixed inputs, rather than chosen or altered by the operator after a bet is placed. The casino commits to a hidden “server seed” via a public hash, combines it with a player-controlled “client seed” and a per-bet nonce, and later reveals the server seed so anyone can recompute and confirm the result.

The stated Return-to-Player (RTP) of that specific game is 97%, implying a 3% house edge. After watching a few rounds, the perceived probability felt off. And if there’s something that gets my attention, it’s the combination of games and statistics. So I did what any reasonable person would do: I watched another 20,000 rounds over six days (112 hours total) and wrote a paper about it.

The distribution below shows the classic heavy tail: most rounds crash quickly at low multipliers, while rare events produce 100x or even 1000x payouts. The maximum I observed was 10,000x. This extreme variance creates the illusion of big wins just around the corner while the house edge operates relentlessly over time.

For a crash game with RTP = r (where 0 < r < 1), the crash multiplier M follows a specific probability distribution. The survival function is particularly relevant:

This means the probability of reaching at least multiplier m before crashing equals r/m. For any cash-out target, the expected value of a unit bet works out to:

This mathematical property makes crash games theoretically “strategy-proof” in expectation. No cash-out timing strategy should yield better long-term results than another.

The empirical data matches theory almost perfectly. A 2x target succeeds about 48.5% of the time. A 10x target works only 9.7% of rounds. The close fit between our observations and the theoretical line is consistent with the stated 97% RTP.

My analysis supports the fairness claim. Using three different statistical methods (log-log regression, maximum likelihood, and the Hill estimator), I estimated the probability density function exponent at α ≈ 1.98, within 2.2% of the theoretical value of 2.0. This contrasts with Wang and Pleimling’s 2019 research that found exponents of 1.4 to 1.9 for player cashout distributions. Their deviations reflect player behavioral biases (probability weighting), rather than game manipulation. These results support the stated payout model over this sample.

A close fit cannot rule out every deviation. Statistical tests also cannot establish cryptographic security. Under the 97% RTP model, tests on 20,038 rounds lose power as the cash-out threshold rises and hits become rarer. The graph compares their chance of detecting 5% and 10% relative shortfalls in hits.

I then ran Monte Carlo simulations of 10,000 betting sessions under four different strategies: conservative 1.5x cashouts, moderate 2.0x, aggressive 3.0x, and high-risk 5.0x targets.

Every strategy has the same negative expected return per unit wagered. Lower cash-out targets reduce variance; higher targets widen the range of possible results.

The consumer protection angle is what concerns me most. My data revealed 179 rounds per hour with 16-second median intervals. If a player completes 179 equal fixed-stake bets, a 3% house edge implies an expected loss of 5.37 stake units. That is 3% of the total amount wagered. The manual cashout mechanic creates an illusion of control over a game with a persistent expected cost.

Cryptographic fairness lets players check whether a game follows its published rules. A game can follow those rules and still expose players to substantial losses.

The full paper preprint with methodology and statistical details is available on SSRN. Code and data are on GitHub.

Topics: provably fair gambling, crash game mathematics, RTP statistical testing, gambling house edge, crash game strategy

The blackjack project tests how card detection can supply reliable inputs to a probability simulation.

One email a month with new writing on quantitative finance, AI and macro strategy.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →