Poker
Match Flow:
Game Creation:
-Admin adds Poker as a game via
addGame
.-Game owner sets a 5% fee using
updateGameFee
.Match Creation:
-Player 1 calls
createMatch
with game UID, stake amount, and max players = 4.Player Join:
-Players 2, 3, and 4 join sequentially by calling
joinMatch
.Game Execution:
-Off-chain Poker match is conducted with all players participating.
Result Submission:
-Game owner submits the result via
submitMatchResult
, specifying the winner or winners for tiered rewards.Reward Distribution:
-Staking rewards are distributed among winners, with protocol and game fees deducted.
Last updated