@websocketpie/server
v1.2.0
Published
The backend for WebsocketPie. A client-agnostic websocket server.
Downloads
53
Readme
Running the server
- via bunx
bunx @websocketpie/server-bun
- via bun.sh
git clone https://github.com/jdoleary/WebsocketPie.git
cd packages/PieServer
bun install
bun start
Files
- index.js
- Starts the PieServer.
- network.js
- Handles socket specifics, parses JSON
- RoomManager.js
- Holds rooms, handles adding clients to rooms, passes on data to room with metadata
- Room.js
- A group of clients playing the same game