Skip to content

Instant game

Bars

Pick up to five of thirty bars; the bet pays their average.

Return to player
94.99%
Volatility
Medium
Max win
3,000x
House edge
5.00%

Return to player: For every difficulty and number of picks, exactly as drawn.

How a round of Bars goes

Bars is an instant game. One bet, one result, settled in a single call.

  1. The player picks 1 to 5 of 30 face-down bars and a difficulty.

  2. Every bar flips over to show its multiplier.

  3. The bet pays the average of the picked bars, up to 3,000x.

The player chooses
Up to five bars and a difficulty
A win pays
The average of the picked bars, at once
Profit above your limit
A win past your max profit pays the limit, and the record says so.

Check any Bars 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": "BARS",
  "input": {
    "currency": {
      "code": "USD",
      "scale": 2
    },
    "limits": {
      "max_profit": "100000.00",
      "max_stake": "1000.00",
      "min_stake": "0.10"
    },
    "params": {
      "difficulty": "EASY",
      "picks": [
        0,
        6,
        12
      ]
    },
    "profile": "source",
    "stake": "1.00"
  },
  "steps": [
    {
      "outcome": {
        "exposure": "1.20",
        "payout": "1.20",
        "refund": "0.00",
        "stake": "1.00",
        "status": "settled",
        "trace": {
          "from": 0,
          "to": 30
        },
        "view": {
          "bars": [
            "0.00",
            "1.20",
            "2.40",
            "1.20",
            "1.20",
            "0.00",
            "2.40",
            "1.20",
            "0.00",
            "1.20",
            "1.20",
            "0.00",
            "1.20",
            "0.00",
            "2.40",
            "1.20",
            "1.20",
            "0.00",
            "0.00",
            "2.40",
            "1.20",
            "0.00",
            "0.00",
            "1.20",
            "1.20",
            "1.20",
            "0.00",
            "0.00",
            "0.00",
            "1.20"
          ],
          "difficulty": "EASY",
          "payout": "1.20",
          "payout_multiplier": "1.20",
          "picks": [
            0,
            6,
            12
          ],
          "profit": "0.20",
          "profit_capped": false,
          "sum": "3.60",
          "table_version": 1,
          "win": true,
          "words": [
            1694566592,
            3591255238,
            4007421401,
            3122257092,
            3513197183,
            976674029,
            4129358435,
            2100125624,
            45905702,
            2722322550,
            3484441481,
            289500705,
            2552928571,
            635669565,
            3911809990,
            2112085776,
            2714344786,
            1286801284,
            1460826124,
            3921485504,
            2847489202,
            1695990313,
            463661424,
            3747821124,
            2672760484,
            3311350636,
            982476211,
            266768339,
            124413953,
            1782475969
          ]
        }
      }
    }
  ],
  "stream": {
    "client_seed": "example-player-seed",
    "kind": "fairrandom",
    "nonce": 1,
    "server_seed": "df1ed853edd1d17ec1a32d3923fb3e303538ad802ef4c16dc2e3ba9fc843b7c5",
    "server_seed_hash": "69aa71ecf922b3abc7c4006b680ef48403689ed33012b74201a7b465dfd85ab6"
  },
  "tables": [
    {
      "fingerprint": "297b66c5112002cdf18ba0b1286ff7e0277c0a70e83aba26347842852d5ecb61",
      "name": "bars/v1/EASY"
    },
    {
      "fingerprint": "1e7e7a1792c62b4f60b12569ef271f4bb452a359ad8ad85aa6707adc536cc497",
      "name": "bars/v1/MEDIUM"
    },
    {
      "fingerprint": "9aa0bd51b20658fe43a2bfae447d6aca519901d8987293439aeaa0cf18b3e983",
      "name": "bars/v1/HARD"
    },
    {
      "fingerprint": "39e6864aef3d972aaf48ac7938eae9465a1f8164f42935a882edab436b0066e5",
      "name": "bars/v1/EXPERT"
    }
  ],
  "v": 1,
  "version": 1
}

Add Bars to your casino

Embed the client and settle through your wallet, or call the API and settle on your own ledger.

Embed the client

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

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

Call the API

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

{ "game": "bars", "brand": "br_casino_main",
  "player_ref": "plr_42", "currency": "USD",
  "stake": "1.00", "params": {"difficulty":"EASY","picks":[0,6,12]} }
  • The answer holds the outcome and the payout, settled in one call.
  • The params for Bars are in the API reference.
Open the API reference

More instant games

See all instant games

Mark up to 10 numbers on a board of 40; ten balls are drawn.

Return
94.74–94.99%
Volatility
High
Max win
10,000x

Throw one dart at a board whose rings pay up to 500x.

Return
95.00%
Volatility
Medium
Max win
500x

Turn three tarot cards: the centre card multiplies the two beside it.

Return
94.99%
Volatility
High
Max win
5,000x