kick_player
Kick a waiting player from the pre-game lobby using their connection ID, atomically evicting them before gameplay starts. The player is moved back to the main lobby; only works during waiting states.
Instructions
Host-only: kick the joiner (slot B) from the room.
Only works pre-game (WAITING_FOR_PLAYERS, WAITING_READY). The kicked player's connection returns to IN_LOBBY. Cannot be used during gameplay.
── Locking ── Whole sequence runs under state_lock so status + joiner lookup + eviction are atomic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |