findGameScene beta
Function of @v12-engine/client/app
ts
export declare function findGameScene(options?: {
id?: string;
name?: string;
server?: string;
online?: SceneRef<OnlineArgs>;
} & Own<FindGameProps>): Scene<FindGameArgs>;A scene of a server's games (features-plan H1): what its list says (GET /games), read again every few seconds, to join one while it waits for players or watch one, in the scene that plays a game on a server (online, given the game's address and whether to watch). The server is server the scene is opened with (FindGameArgs), ?server= of the page, the scene's server, or port 8787 of the machine the page came from. component or mount is the screen as the game draws it, given the games (GameListController) and the way out; the client's (FindGameScreen) when left out