Kareem-Emad / match

match is a multiplayer game server that manages all logic behind starting a new game, matching/connecting online players, inviting friends to a game for you so you could focus on building the game itself wihtout worrying about such networking details.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Match

Build Status: License: MIT

match is a multiplayer game server that manages all logic behind starting a new game, matching/connecting online players, inviting friends to a game for you so you could focus on building the game itself without worrying about such networking details.

Setup

first make sure you set up the env variable properlly for:

  • MAX_PLAYERS_IN_GAME max number of players to join a single game

  • MIN_PLAYERS_IN_GAME minumum number of players enough to start a game

  • REDIS_CONNECTION_URL redis connection url

  • SERVER_PORT port number for the express server to listen to

npm install
npm start

Features

  • connecting and mating random players.
  • handles disconnection and reconnection events from user due to network.
  • updates players with online teammates and disconnected ones.
  • Supports starting matches with players between min/max allowed using ready consent by users.
  • In game chat
  • Friends Invite and private rooms
  • web sdk(js) [beta]
  • out of the box android sdk
  • jwt Authentication

SDK

JS: https://github.com/Kareem-Emad/match-js

About

match is a multiplayer game server that manages all logic behind starting a new game, matching/connecting online players, inviting friends to a game for you so you could focus on building the game itself wihtout worrying about such networking details.

License:MIT License


Languages

Language:JavaScript 99.8%Language:Shell 0.2%