Skip to content

Session game

RPS (Hand Wars)

Rock, paper, scissors: a streak of up to 20 wins, ties keep it.

Return to player
95.00%
Volatility
Medium
Max win
996,147.20x
House edge
5.00%

Return to player: Same 95.00% return after every won hand.

How a round of RPS (Hand Wars) goes

RPS (Hand Wars) is a session game. The player moves step by step and can cash out between steps.

  1. The player throws rock, paper or scissors against the house.

  2. A win climbs one rung; a tie keeps the rung.

  3. The player may cash out after any won hand; ties carry the streak forward, and a loss ends it.

The player chooses
Rock, paper or scissors, throw by throw
A win pays
The rung reached, up to 996,147.20x
Profit above your limit
A win past your max profit pays the limit, and the record says so.

Check any RPS (Hand Wars) 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": "RPS",
  "input": {
    "currency": {
      "code": "USD",
      "scale": 2
    },
    "limits": {
      "max_profit": "100000.00",
      "max_stake": "1000.00",
      "min_stake": "0.10"
    },
    "params": {
      "pick": "ROCK"
    },
    "profile": "source",
    "stake": "1.00"
  },
  "steps": [
    {
      "outcome": {
        "exposure": "100001.00",
        "payout": "0.00",
        "refund": "0.00",
        "stake": "1.00",
        "status": "open",
        "trace": {
          "from": 0,
          "to": 1
        },
        "view": {
          "auto_cashout": null,
          "can_cashout": true,
          "cashed_at": null,
          "floats_used": 1,
          "game_result": null,
          "last_hand": [
            {
              "float_index": 0,
              "house": "S",
              "pick": "R",
              "result": "win"
            }
          ],
          "max_profit_hit": false,
          "max_wins": 20,
          "mode": "manual",
          "multiplier": "1.90",
          "next_multiplier": "3.80",
          "picks": [
            "R"
          ],
          "push": false,
          "status": "IN_PROGRESS",
          "throws": [
            {
              "float_index": 0,
              "house": "S",
              "pick": "R",
              "result": "win"
            }
          ],
          "tie_pending": false,
          "win": false,
          "wins": 1
        }
      }
    },
    {
      "action": {
        "do": "cashout"
      },
      "outcome": {
        "exposure": "1.90",
        "payout": "1.90",
        "refund": "0.00",
        "stake": "1.00",
        "status": "settled",
        "trace": {
          "from": 1,
          "to": 1
        },
        "view": {
          "auto_cashout": null,
          "can_cashout": false,
          "cashed_at": 1,
          "floats_used": 1,
          "game_result": {
            "auto": null,
            "cashed_at": 1,
            "floats_used": 1,
            "mode": "manual",
            "multiplier": "1.90",
            "picks": [
              "R"
            ],
            "status": "CASHED_OUT",
            "throws": [
              {
                "float_index": 0,
                "house": "S",
                "pick": "R",
                "result": "win"
              }
            ],
            "v": 2,
            "wins": 1
          },
          "last_hand": [],
          "max_profit_hit": false,
          "max_wins": 20,
          "mode": "manual",
          "multiplier": "1.90",
          "payout": "1.90",
          "picks": [
            "R"
          ],
          "profit": "0.90",
          "push": false,
          "status": "CASHED_OUT",
          "throws": [
            {
              "float_index": 0,
              "house": "S",
              "pick": "R",
              "result": "win"
            }
          ],
          "tie_pending": false,
          "win": true,
          "wins": 1
        }
      }
    }
  ],
  "stream": {
    "client_seed": "example-player-seed",
    "kind": "fairrandom",
    "nonce": 1,
    "server_seed": "24fc225c7470bab8606b7544c2bcf3682a5dac390e22adcb35b2b30226ae0f3b",
    "server_seed_hash": "7600fc8327a7a63e3696cca65c7bef7969f569fc9f228dfcf48298cb1c479c44"
  },
  "tables": [
    {
      "fingerprint": "357c6d519af86453e6ba96a12c7e5808c80838f571f518a360d8d014bb0ed43c",
      "name": "rps/v1/ladder"
    }
  ],
  "v": 1,
  "version": 1
}

Add RPS (Hand Wars) 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_rps_01

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

Call the API

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

{ "game": "rps", "brand": "br_casino_main",
  "player_ref": "plr_42", "currency": "USD",
  "stake": "1.00", "params": {"pick":"ROCK"} }
  • Each step then goes to POST /v1/rounds/{id}/actions, the cash-out too.
  • The params for RPS (Hand Wars) are in the API reference.
Open the API reference

More session games

See all session games

Seven holes, some with moles: whack one each round, stop before you miss.

Return
94.28–95.00%
Volatility
High
Max win
5,476,560.95x

Jacks or better draw poker: hold, draw, and score up to 800x.

Return
94.99%
Volatility
Medium
Max win
800x

Fly through gate rings, each with its own odds, and cash out in time.

Return
94.50–95.00%
Volatility
High
Max win
996,147.20x