A Node.js server for turn-based games (board games, card games, etc.), current version 0.12.396. Provides WebSocket-based multiplayer with configurable turn timers, reconnection handling, spectator mode, MongoDB/Redis integration for persistence and ranking, and admin controls. Differentiators include flexible timer modes (per-turn, per-switch, common time, addTime), penalty/timeout systems, and cheat detection via unfocused turns. Released under an unspecified cadence, likely maintenance mode as updates are infrequent. Primarily documented in Russian.
npm install v6-game-serverNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates and starts a V6 game server with custom configuration and game engine.
Use require() instead of import
Use const Server = require('v6-game-server') not const { Server } = require(...)Ensure MongoDB and Redis servers are running and accessible or set mode:'develop' to skip DB, but note this may disable some features.
Use the correct pattern: const Server = require('v6-game-server'); const server = new Server(conf, engine);Replace with const Server = require('v6-game-server')Use require() instead, or convert your project to CommonJS
Change conf.port to an available port or kill the process using the port
Start MongoDB or update conf.mongo with correct host/port; or set mode:'develop' to bypass DB
No dependency data recorded yet.