Keno

Pick up to 10 tiles from a 40-tile grid; the RGS draws 10 and pays on how many of your picks it hits. Single-action.

Slug: keno · Type: single-action · TS types: @jackpot-studio/jps-proto/keno

Tiles are numbered 1–40. A higher difficulty skews payouts toward hitting more of your picks.

Bet

RequestQuery.bet

Field Type Notes
amount string Wager, decimal string.
tiles uint[] The picked tiles (up to 10), values 1–40.
difficulty enum Difficulty DIFFICULTY_CLASSIC (1), DIFFICULTY_LOW (2), DIFFICULTY_MEDIUM (3), DIFFICULTY_HIGH (4).
{ "bet": { "amount": "1.00", "tiles": [3, 7, 11, 24], "difficulty": 1 } }

ResponseResult.bet

Field Type Notes
pickedTiles uint[] Echo of the player's picks.
resultTiles uint[] The 10 drawn tiles. Intersection with pickedTiles = hits.
result object { payout, multiplier }.
{
  "metadata": { "balance": "102.50", "roundId": "9f1c…" },
  "bet": {
    "pickedTiles": [3, 7, 11, 24],
    "resultTiles": [1, 3, 7, 12, 18, 24, 29, 33, 36, 40],
    "result": { "payout": "1.50", "multiplier": "1.5" }
  }
}

State

GameState: { difficulty, result, tiles } — the draw, the picks, and the difficulty.

Verify

VerifyRequest needs difficulty (it shapes the draw).

// request message
{ "difficulty": 1 }
// response message
{ "resultTiles": [1, 3, 7, 12, 18, 24, 29, 33, 36, 40] }