Skip to content

Session game

Mines

Reveal tiles on a 5x5 grid and cash out before you hit a mine.

Return to player
35.84–98.88%
Volatility
Player sets
Max win
4,940,000x
Implied house edge
1.12–64.16%

Return to player: Depends on the number of mines and where the player cashes out.

How a round of Mines goes

Mines is a session game. The player moves step by step and can cash out between steps.

  1. The player hides 1 to 24 mines among the 25 tiles.

  2. Each safe tile revealed raises the cash-out multiplier.

  3. The player cashes out at any time, or loses the stake on a mine.

The player chooses
How many mines, then which tiles to reveal
A win pays
The multiplier reached when the player cashes out
Profit above your limit
A win past your max profit pays the limit, and the record says so.

Check any Mines round

Each number the round reads comes from HMAC-SHA256 of the server seed, the client seed, the round counter and a cursor.

Open the fairness verifier
  1. Committed before the bet (done)

    The player sees the SHA-256 hash of the server seed before playing.

  2. Played on three inputs (done)

    The round uses the server seed, the player’s client seed and a counter.

  3. Revealed on rotation (done)

    When the player rotates seeds, the old server seed is revealed.

  4. Recomputed by anyone (now)

    The round recomputes from the three inputs and must match its record.

Every settled round keeps a record like this one. The verifier replays it in your browser and says whether it matches.

Settled round record
{
  "game": "MINES",
  "input": {
    "currency": {
      "code": "USD",
      "scale": 2
    },
    "limits": {
      "max_profit": "100000.00",
      "max_stake": "1000.00",
      "min_stake": "0.10"
    },
    "params": {
      "mines": 3
    },
    "profile": "source",
    "stake": "1.00"
  },
  "steps": [
    {
      "outcome": {
        "exposure": "2190.00",
        "payout": "0.00",
        "refund": "0.00",
        "stake": "1.00",
        "status": "open",
        "trace": {
          "from": 0,
          "to": 24
        },
        "view": {
          "can_cashout": false,
          "current_multiplier": "1",
          "floats_used": 24,
          "mines": 3,
          "next_multiplier": "1.07",
          "status": "IN_PROGRESS",
          "sweeped_tiles": []
        }
      }
    },
    {
      "action": {
        "do": "sweep",
        "tile": 0
      },
      "outcome": {
        "exposure": "2190.00",
        "payout": "0.00",
        "refund": "0.00",
        "stake": "1.00",
        "status": "open",
        "trace": {
          "from": 24,
          "to": 24
        },
        "view": {
          "can_cashout": true,
          "current_multiplier": "1.07",
          "floats_used": 24,
          "mines": 3,
          "next_multiplier": "1.23",
          "status": "IN_PROGRESS",
          "sweeped_tiles": [
            0
          ]
        }
      }
    },
    {
      "action": {
        "do": "cashout"
      },
      "outcome": {
        "exposure": "1.07",
        "payout": "1.07",
        "refund": "0.00",
        "stake": "1.00",
        "status": "settled",
        "trace": {
          "from": 24,
          "to": 24
        },
        "view": {
          "floats_used": 24,
          "game_result": {
            "mine_locations": [
              8,
              3,
              17
            ],
            "status": "CASHED_OUT",
            "sweeped_tiles": [
              0
            ]
          },
          "max_profit_hit": false,
          "mine_locations": [
            8,
            3,
            17
          ],
          "mines": 3,
          "multiplier": "1.07",
          "payout": "1.07",
          "profit": "0.07",
          "status": "CASHED_OUT",
          "sweeped_tiles": [
            0
          ],
          "win": true
        }
      }
    }
  ],
  "stream": {
    "client_seed": "example-player-seed",
    "kind": "fairrandom",
    "nonce": 1,
    "server_seed": "77ca79172f4762f87dc96861df88496d0e80373fc4dd271f9a025491e89add40",
    "server_seed_hash": "15be0ff39c2fb7efd90eb3ca53c1afde06dd2c9a2c7a62ec49f4d82bd1603818"
  },
  "tables": [
    {
      "fingerprint": "c3c8463bfeff9be1c6804943ee513efc6245eb96a01f802f78aa87c0190902fb",
      "name": "mines/v1/table"
    }
  ],
  "v": 1,
  "version": 1
}

Add Mines to your casino

Embed the client and settle through your wallet, or call the API and settle on your own ledger. Each step of a round is one more call.

Embed the client

Your server
POST /v1/launch
Idempotency-Key: lnch_mines_01

{ "game": "mines", "brand": "br_casino_main",
  "player_ref": "plr_42", "currency": "USD",
  "mode": "real", "locale": "en" }
Your page
<betrail-game
  game="mines"
  api-base="https://api.betrail.example"
  token="EXAMPLE_launch_token_0000000000000000000000"
></betrail-game>

Call the API

Your server
POST /v1/rounds
Idempotency-Key: rnd_mines_01

{ "game": "mines", "brand": "br_casino_main",
  "player_ref": "plr_42", "currency": "USD",
  "stake": "1.00", "params": {"mines":3} }
  • Each step then goes to POST /v1/rounds/{id}/actions, the cash-out too.
  • The params for Mines are in the API reference.
Open the API reference

More session games

See all session games

Climb a tower one floor at a time, picking a safe door on each.

Return
62.88–95.00%
Volatility
Player sets
Max win
165,205.25x

Classic 21 against the dealer, with doubles, splits and insurance.

Return
99.72%
Volatility
Low
Max win
3x

Cross lanes one step at a time and cash out before a hazard.

Return
94.35–95.00%
Volatility
Player sets
Max win
175,518.20x