join_dev_game
Bypass the ready-up flow in development to instantly join the first available room as the red player and start the match. Use after setting player metadata in the lobby. Returns room ID and slot.
Instructions
Mutating. Development-only shortcut: join the first available room as the red player and start the match immediately, bypassing the normal ready-up flow. Requires state=in_lobby (call set_player_metadata first). Returns the room_id and assigned slot. In production, use join_room + set_ready instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |