Skip to content

shareGame beta ​

Function of @v12-engine/engine

ts
export declare function shareGame(world: World, options: ShareOptions): Promise<SharedGame>;

Shares the page's world through a relay, for others to watch. Fails when the relay cannot be reached