Universe
A multi-player game based on pixi.js and socket.io
Install / Use
/learn @uni-js/UniverseREADME
Universe
Multi-Player Game
This is a multi-player HTML5 game based on pixi.js, socket.io written in TypeScript.

Project & Game goal
The main target to generate a framework named uni.js.
And finish the multi-player, infinity map, 2D sandbox game just like Minecraft.
State Synchronization
The game system use client-side prediction & server reconciliation to implement synchronization of game actors.
This part is completely written in TypeScript, and it performs well.
reference: https://www.gabrielgambetta.com/client-server-game-architecture.html
Start Developing
to start development, following the steps:
- clone the repository firstly,
git clone --recurse-submodules https://github.com/uni-js/universe
- install the project dependencies
yarn install
- build the framework from git submodule:
yarn build:framework
- then create a
.envfile, in the pronject root folder, to specify data folder of the server and some other options.
its content is like:
DB_LOCATION=./data/
- finally, run the commands:
yarn start:server # start developing server
yarn start:client # start developing client
then visit the client url to play the game under development.
Contribute
the author keep maintaining this project,
if you are interested in it, the contribution is welcomed.
LICENSE
The project is under MIT License.
Related Skills
bluebubbles
339.1kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
slack
339.1kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
