15.1.1 • Published 5 months ago

@game-vir/multiplayer-server v15.1.1

Weekly downloads
-
License
(MIT or CC0 1.0)
Repository
github
Last release
5 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

5 months ago

15.1.0

5 months ago

15.0.1

5 months ago

15.0.0

5 months ago

14.10.0

5 months ago

14.9.1

5 months ago

14.9.0

5 months ago

14.8.0

5 months ago

14.7.0

5 months ago

14.6.2

5 months ago

14.6.1

5 months ago

14.6.0

5 months ago

14.5.0

6 months ago

14.4.0

6 months ago

14.3.1

6 months ago

14.3.0

6 months ago

14.2.0

6 months ago

14.1.0

6 months ago

14.0.1

6 months ago

14.0.0

6 months ago

13.1.0

6 months ago

13.0.0

6 months ago

12.0.0

6 months ago

11.2.1

6 months ago

11.2.0

6 months ago

11.1.2

6 months ago

11.1.1

6 months ago

11.1.0

6 months ago

11.0.2

6 months ago

11.0.1

7 months ago

11.0.0

7 months ago

10.2.0

7 months ago

10.1.0

7 months ago

10.0.1

7 months ago

10.0.0

7 months ago

9.0.0

7 months ago

8.0.0

7 months ago

7.0.0

7 months ago