{
  "game": "teen-patti",
  "displayName": "Teen Patti",
  "rtpPercent": 99.0,
  "rtpE8": 99000000,
  "engine": "uint32",
  "biasClass": "uniform",
  "params": [
    {
      "name": "bet",
      "desc": "a / b (the better hand; a tie pushes), tie, or pairplus_a / pairplus_b (paid on that hand's category)"
    }
  ],
  "note": "shuffle(52) over 51 words; card c = rank c%13 (0=A..12=K), suit c//13; Player A = order[0,2,4], Player B = order[1,3,5]; strength = (rank-1) mod 13 (aces high); a hand's key is (category, tie-breakers) — Trail (s), Pure Sequence / Sequence (run: A-K-Q 13, A-2-3 12, else the top strength), Color / High Card (strengths high to low), Pair (pair, kicker); the greater key wins, equal keys tie. a/b pay floor((rtp·total − tie·1e8)/win) and push (1x) on a tie; tie pays floor(rtp·total/tie); pairplus pays ppWeight[category]·floor(hands·rtp/ppWeightedHands) on its player's hand.",
  "deck": 52,
  "bets": [
    "a",
    "b",
    "tie",
    "pairplus_a",
    "pairplus_b"
  ],
  "sides": [
    "a",
    "b"
  ],
  "pairPlus": {
    "pairplus_a": "a",
    "pairplus_b": "b"
  },
  "categories": [
    "high_card",
    "pair",
    "color",
    "sequence",
    "pure_sequence",
    "trail"
  ],
  "hands": 22100,
  "total": 407170400,
  "tie": 450528,
  "win": 203359936,
  "counts": {
    "high_card": 16440,
    "pair": 3744,
    "color": 1096,
    "sequence": 720,
    "pure_sequence": 48,
    "trail": 52
  },
  "ppWeight": {
    "pair": 2,
    "color": 5,
    "sequence": 7,
    "pure_sequence": 36,
    "trail": 41
  },
  "ppWeightedHands": 21868,
  "publishedAtRtpE8": 99000000,
  "multE8": {
    "side": 197997784,
    "tie": 89472506925,
    "pairPlusBase": 100050301,
    "pairPlus": {
      "pair": 200100602,
      "color": 500251505,
      "sequence": 700352107,
      "pure_sequence": 3601810836,
      "trail": 4102062341
    },
    "max": {
      "side": 197997784,
      "tie": 89472506925,
      "pairPlus": 4102062341
    }
  }
}
