docs: remove ambiguous options field from CREATE_ROOM message
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -121,7 +121,7 @@ Extend the existing `/ws` endpoint (Bun native WebSocket in `server.ts`):
|
|||||||
| `JOIN_ROOM` | `{ roomId, as: "player" \| "spectator" }` |
|
| `JOIN_ROOM` | `{ roomId, as: "player" \| "spectator" }` |
|
||||||
| `LEAVE_ROOM` | `{ roomId }` |
|
| `LEAVE_ROOM` | `{ roomId }` |
|
||||||
| `GAME_ACTION` | `{ roomId, action: { type, ...data } }` |
|
| `GAME_ACTION` | `{ roomId, action: { type, ...data } }` |
|
||||||
| `CREATE_ROOM` | `{ gameType, options? }` |
|
| `CREATE_ROOM` | `{ gameType }` |
|
||||||
| `PING` | (existing heartbeat) |
|
| `PING` | (existing heartbeat) |
|
||||||
|
|
||||||
### Connection Model
|
### Connection Model
|
||||||
|
|||||||
Reference in New Issue
Block a user