/
docNemo
/
tactic-hack-server
Обзор
Документация
Войти
/
docNemo
/
tactic-hack-server
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
src/index.ts
12 строк
404 B
neo
Implement matchmaking lobby, authoritative GameRoom with timers and reconnect, integration tests
19 июл 2026, 00:10
19 июл 2026, 00:10
bed576b
Код
Авторство
О чём код?
import { createGameServer } from "./app.js"; import { loadConfig } from "./config.js"; const config = loadConfig(); const server = createGameServer(); server.listen(config.port).then(() => { console.log(`tactic-hack-server listening on ws://localhost:${config.port}`); console.log( `timers: placement=${config.placementMs}ms turn=${config.turnMs}ms reconnect=${config.reconnectMs}ms`, ); });