Ludo

Match Flow:

  1. Game Creation:

    • Admin registers Ludo via addGame.

    • Game owner sets metadata and fees.

  2. Match Creation:

    • Player 1 creates a private match using createMatch and provides a cryptographic hash of authorized player addresses.

  3. Player Join:

    • Players 2, 3, and 4 call joinMatch and provide matching authorization data.

  4. Game Execution:

    • The Ludo match is conducted off-chain among the participants.

  5. Result Submission:

    • Game owner submits the winner via submitMatchResult.

  6. Reward Distribution:

    • Staking rewards are distributed to the winner, with protocol and game fees deducted.

Last updated