Skip to content

Gamify-IT/multiplayer-backend

Repository files navigation

Multiplayer-Backend

This is the server used for the multiplayer in the overworld. It consists of a REST API and WebSocket support for real-time communication.
For more information, please refer to the docs.

Development

Getting Started

Install Unity Version 2021.3.2f1 (LTS).

Overworld

Clone the repository

git clone https://github.com/Gamify-IT/overworld.git

Multiplayer Server

Clone the repository

git clone https://github.com/Gamify-IT/multiplayer-backend.git

Install the dependencies

npm install

Build and Run

Build the unity project like described in this manual.

To run the multiplayer server locally with IDE features and all necessary dependencies, start the dependencies via docker:

docker compose -f docker-compose-dev.yaml up

Then start the frontend with:

npm run dev

You can now access the game at localhost.

Tests

There are a few tests to check system performance and feature accuracy.
Tests can be run with:

npm run test

Unique ID generation

The generation of new client session ids is tested for:

  • uniqueness
  • reuse after release
  • error for releasing invalid id
  • error for unavailable ids

About

Server for the Multiplayer of the Overworld

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •