ZKasino Documentation
WebsitedAppTwitterTelegram
  • Welcome
  • Tokenomics
  • ZKasino Bridge
  • ZKasino Chain Testnet
  • ZKasino
    • Roadmap and FAQ
    • Responsible Gaming
    • Live Support
    • IPFS hosting
    • Mainnet Guide
    • Official Links
  • Platform
    • Glossary
    • Betting
    • Chains and Bet tokens
    • Self Exclusion
  • Developer
    • Contract addresses
    • Audits
    • Infrastructure
    • VRF Oracle
    • Architecture
    • Metaplay
    • Probability, Odds and House Edge
      • Dice
      • Plinko
      • Video Poker
      • Slots
      • Mines
      • Rock Paper Scissors
      • Coin Flip
    • Kelly-based bankroll management
    • Changelog
      • Game contracts v2.1
      • Game contracts v2.0
      • Contracts v1.0
      • Integrated VRFs (old)
      • Testnet Guide (outdated)
    • Testing
      • BNB Chain private fee testing
      • v2.1 private testnet WIP
      • v2.0 public testnet
      • v2.0 private testnet
      • multi-chain private mainnet with VRF
      • v1.1 public testnet
      • multi-chain private testnet with VRF
      • v1.0 public testnet
      • wip v1.0 private testnet
      • v2.1 public testnet
Powered by GitBook
On this page
  • Probability
  • Multiplier
  • House Edge
  • Odds
  1. Developer
  2. Probability, Odds and House Edge

Mines

PreviousSlotsNextRock Paper Scissors

Last updated 2 years ago

Probability

The probabilities for a player to win a Mines game with a specific pre-chosen amount of mines and selected tiles (revealed slots) are calculated and shown in the table below:

Multiplier

With the probabilities the multiplier is set such that the expected return is 0.99 with the following formula:

The multipliers can be found in the table below:

Note: The multipliers of the Mines game can't be found in the code, because the multipliers have to be set when the contract gets deployed. Invoke the function Mines_GetMultipliers on the deployed contract to verify the multipliers.

House Edge

The house edge is incorporated in the multiplier. With the multipliers and expected return set at 0.99, the house edge is 1%.

Odds

The average multiplier is determined leading to the following odds:

Odds
Outcome

Decimal odds

0.99

Return to Player

99%

Probability odds

49.5%

m=0.99p(x,M).m = \frac{0.99}{p(x,M)}.m=p(x,M)0.99​.