Poker

Match Flow:

  1. Game Creation:

    • Admin adds Poker as a game via addGame.

    • Game owner sets a 5% fee using updateGameFee.

  2. Match Creation:

    • Player 1 calls createMatch with game UID, stake amount, and max players = 4.

  3. Player Join:

    • Players 2, 3, and 4 join sequentially by calling joinMatch.

  4. Game Execution:

    • Off-chain Poker match is conducted with all players participating.

  5. Result Submission:

    • Game owner submits the result via submitMatchResult, specifying the winner or winners for tiered rewards.

  6. Reward Distribution:

    • Staking rewards are distributed among winners, with protocol and game fees deducted.

Last updated