Get the current game state
Get the host player ID
Check if the local player is the host
Check if in a room
Get player count
Get all players in the room
Get the room ID
Leave the current room
Set ready status
Send a game action to all players in the room
Optionaldata: Record<string, unknown>Send game state update (host typically does this)
Represents the client's view of a game room. Manages players, state, and dispatches room events.