Author and test GameLift FlexMatch rule sets for skill-based team matchmaking

domain: docs.aws.amazon.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Define a FlexMatch rule set in JSON specifying teams (name, minPlayers, maxPlayers) and a list of rules; store it in the GameLift console or via the AWS CLI CreateMatchmakingRuleSet command.
  2. Add a latency rule using the latency rule type to ensure all matched players have acceptable latency to the selected region; specify a maxLatency value and reference the latencyMap in player attributes.
  3. Add a distance rule on skill rating to keep player MMR values within a defined distance of each other; use the distance rule type with an expression referencing a player attribute key.
  4. Add an absolute sort rule or batch distance rule on team composition if balance between teams is required (e.g., average team skill within a threshold of the opposing team's average).
  5. Use the ValidateMatchmakingRuleSet API to check the rule set JSON for syntax errors before deploying, then associate the rule set with a matchmaking configuration.
  6. Use the StartMatchBackfill API in your game server to fill open slots mid-match; include the existing players' attributes and the current match ID so FlexMatch avoids placing duplicate players.

Known gotchas

Related routes

Choose a skill-rating algorithm (Elo, Glicko-2, or TrueSkill) for a game's matchmaking system based on team size and match cadence
research.microsoft.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans