GameLift adds support for more complex rules logic and longer string lists in FlexMatch

Hello GameLift devs,

Today, the GameLift team is excited to announce three updates to FlexMatch. The updates expand existing matchmaking functionality that will allow you to create more evenly matched players teams with greater precision. The three updates are as follows:

  • Support for compound rules. Today, the behavior in a FlexMatch matchmaker rule set is that all of the rules must hold true to form a match. Effectively this means that all rules use the “AND” logical operator. With compound rules, more complex constructs are possible. FlexMatch now supports the following additional logical operators in addition to “AND”: “OR”, “NOT”, and “XOR”.
  • Longer string lists. FlexMatch allows you to pass in different player attributes to FlexMatch, e.g., numbers, strings, or a list of strings. String lists are currently limited to 10 strings. With today’s update, that limit is increased to 100. One common use case is to use the string list as a “blocklist” for players. Now, instead of blocking only 10 players, you can block up to 100.
  • More flexible team selection. FlexMatch “property expressions” are used to perform logical operations with player attributes regarding team selection. Previously, they were limited to apply to one or all teams, only. With today’s update, you can use property expressions to target more than one team without having to target all teams.

We’re excited to see what you can do with this greater flexibility with FlexMatch rules logic. For more information, please refer to the following links.

Compound rules
Property expressions
API reference for string list attribute

Mark Choi, GameLift PM

3 Likes

Compound Rule usage example can be found in sample ruleset #10 in FlexMatch rule set examples - Amazon GameLift