SkillAgentSearch skills...

Universe

A multi-player game based on pixi.js and socket.io

Install / Use

/learn @uni-js/Universe
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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:

  1. clone the repository firstly,
git clone --recurse-submodules https://github.com/uni-js/universe
  1. install the project dependencies
yarn install
  1. build the framework from git submodule:
yarn build:framework
  1. then create a .env file, in the pronject root folder, to specify data folder of the server and some other options.

its content is like:

DB_LOCATION=./data/
  1. 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

View on GitHub
GitHub Stars28
CategoryDevelopment
Updated1mo ago
Forks4

Languages

TypeScript

Security Score

95/100

Audited on Feb 13, 2026

No findings