joinGame

fun joinGame(sessionID: String, greetingMessage: String)

Joins an existing game session on the server by sending a JoinGameMessage.

Parameters

sessionID

Unique id for the existing session to join to.#

greetingMessage

Greeting message to be broadcast to all other players in this session.

Throws

If client is not connected to a host.