Keno
How a Keno result is derived, step by step. Every step is public and can be reproduced from the seeds.
01
Derivation
- 01
Shuffle [1 … 80] with Fisher–Yates using floats 0 … 78.
- 02
The draw is the first 20 numbers of the shuffled list.
- 03
hits = |picks ∩ draw|; payout = stake × table[picks.length][hits].
float(k) and the rest of the notation are defined in the byte stream.
Run these steps on a bet of your own, in your browser.
Open the verifier02
Rules that fix the payout
Pick 1 to 10 numbers from 1–80. Twenty numbers are drawn without replacement.
The payout depends on how many you picked and how many of them were drawn.
Each of the ten paytables returns 97.00% against the hypergeometric distribution.