> ## Documentation Index
> Fetch the complete documentation index at: https://core.anylayer.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Gaming Use Case

> Skill-based matchmaking using ZKScore

## Overview

Use ZKScore for skill-based matchmaking, tournament entry requirements, and player verification in Web3 games.

## Implementation

<CodeGroup>
  ```javascript JavaScript theme={null}
  async function matchPlayers(player1, player2) {
    const [score1, score2] = await Promise.all([
      zkScore.getScore(player1),
      zkScore.getScore(player2)
    ]);
    
    const skillDiff = Math.abs(score1.breakdown.gaming - score2.breakdown.gaming);
    
    return {
      isBalanced: skillDiff < 100,
      recommendedMatch: skillDiff < 50
    };
  }
  ```
</CodeGroup>

## Related Documentation

* [Gaming Integration](/integrations/gaming)
