create_dev_game
Create a development game and claim slot A (blue) to wait for an opponent. A second player can join via slot B (red) to start the match. Built-in locking prevents duplicate game creation.
Instructions
Create a single hardcoded dev game and seat this connection
in slot A (blue). A second connection can call join_dev_game
to take slot B (red) and start the match.
── Locking ── Whole body under state_lock so two concurrent create_dev_game calls can't both observe "no dev game exists" and both create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | ||
| scenario | No | 01_tiny_skirmish |