Challenges
A challenge is tournaments’ little sibling: you pick one or more specific opponents and send them a payload (seed, level, starting config). They play, you compare scores. Perfect for “beat my score” messages.
Create
Section titled “Create”Returns the challenge ID, or undefined if the user picks “tournament” from the channel’s native dialog instead of creating the challenge.
Target a specific opponent
Section titled “Target a specific opponent”If you already have a context ID (e.g. from an earlier play session) or a known FRVR player ID:
Read possible opponents
Section titled “Read possible opponents”Channels that know about the player’s recent contacts can offer them:
Typical on Facebook (friends active in the last 90 days), empty on sandboxed channels.
The current challenge
Section titled “The current challenge”When a player arrives via a challenge invite (check entry point first), fetch it: