15.1.1 • Published 9 months ago

@game-vir/multiplayer-server v15.1.1

Weekly downloads
-
License
(MIT or CC0 1.0)
Repository
github
Last release
9 months ago

@game-vir/multiplayer-server

The backend counterpart of https://www.npmjs.com/package/@game-vir/multiplayer. This server facilitates multiplayer client connections (handled via WebSocket but then handed off to WebRTC) and multiplayer room lobbies.

Reference docs: https://electrovir.github.io/game-vir/multiplayer-server

Install

npm i @game-vir/multiplayer-server

Usage

import {startMultiplayerServer} from '@game-vir/multiplayer-server';

await startMultiplayerServer({
    games: {
        byId: {
            myGame: 'https://my-frontend.example.com',
        },
    },
    port: 3000,
});

For more options, see the type definitions or reference docs.

15.1.1

9 months ago

15.1.0

9 months ago

15.0.1

9 months ago

15.0.0

9 months ago

14.10.0

9 months ago

14.9.1

9 months ago

14.9.0

9 months ago

14.8.0

9 months ago

14.7.0

9 months ago

14.6.2

9 months ago

14.6.1

9 months ago

14.6.0

9 months ago

14.5.0

9 months ago

14.4.0

9 months ago

14.3.1

9 months ago

14.3.0

9 months ago

14.2.0

9 months ago

14.1.0

9 months ago

14.0.1

9 months ago

14.0.0

9 months ago

13.1.0

9 months ago

13.0.0

9 months ago

12.0.0

9 months ago

11.2.1

9 months ago

11.2.0

9 months ago

11.1.2

10 months ago

11.1.1

10 months ago

11.1.0

10 months ago

11.0.2

10 months ago

11.0.1

10 months ago

11.0.0

10 months ago

10.2.0

10 months ago

10.1.0

10 months ago

10.0.1

11 months ago

10.0.0

11 months ago

9.0.0

11 months ago

8.0.0

11 months ago

7.0.0

11 months ago