@hrejko/shared
v1.2.0
Published
Shared types and utilities for the Hrejko multiplayer game framework
Downloads
87
Maintainers
Readme
@hrejko/shared
Shared types and utilities for the Hrejko multiplayer game framework.
Installation
npm install @hrejko/sharedWhat's Included
- Types — Game state, player, map, and message types shared between client and server
- Game Map — Map utilities and helpers
- Player — Player state types and utilities
- Game — Core game state definitions
- Analytics — Analytics event types
Usage
import { GameState, Player, GameMap } from "@hrejko/shared";Related Packages
@hrejko/core— Core utilities and base classes@hrejko/server— Server-side game engine@hrejko/client— React client library
License
ISC