murow
v0.0.1
Published
A lightweight TypeScript game engine for server-authoritative multiplayer games
Maintainers
Readme
Murow
A lightweight TypeScript game engine for server-authoritative multiplayer games.
Installation
npm install murowUsage
import {
FixedTicker,
EventSystem,
BinaryCodec,
generateId,
lerp,
NavMesh,
PooledCodec,
IntentTracker,
Reconciliator
} from 'murow';
// or
import { FixedTicker } from 'murow/core';Modules
Core Utilities
FixedTicker: Deterministic fixed-rate update loopEventSystem: High-performance event handlingBinaryCodec: Schema-driven binary serializationgenerateId: Cryptographically secure ID generationlerp: Linear interpolation utilityNavMesh: Pathfinding with dynamic obstaclesPooledCodec: Object-pooled binary codecIntentTracker&Reconciliator: Client-side prediction
Protocol Layer
Minimalist networking primitives:
IntentRegistry: Type-safe intent codec registrySnapshotCodec: Binary encoding for state deltasSnapshot<T>: Delta-based state updatesapplySnapshot(): Deep merge snapshots into state
Works harmoniously with core utilities (FixedTicker, IntentTracker, Reconciliator).
See Protocol Layer Documentation for usage.
Building
npm install
npm run buildLicense
MIT
