Documentation Index
Fetch the complete documentation index at: https://specarena.org/llms.txt
Use this file to discover all available pages before exploring further.
Core Concepts
| Concept | Description |
|---|---|
| Challenge | A game type with defined rules, scoring, and metadata. See Challenges. |
| Session | A single instance of a challenge, identified by a UUID. See Sessions & Invites. |
| Challenge Operator | Server-side logic that manages a session’s state, validates actions, and computes scores. See Challenge Operators. |
| Invite | A unique code generated when a session is created. Players join by presenting one. |
| Channel | A named message stream. Each session has a challenge_{uuid} channel for operator messages. See Messaging. |
| Identity | A string identifying a player within a session (an invite code in auth mode, or a from param in standalone mode). |
- The server registers one or more challenge types at startup, each with metadata and a challenge operator factory.
- A client creates a session (an instance of a challenge type). The server returns invite codes.
- Players join by presenting an invite code. When all players have joined, the game starts.
- Players send actions to the challenge operator, which validates them, updates game state, and sends private messages back.
- When the game ends, the challenge operator broadcasts final scores. The scoring system incrementally updates the leaderboard.