Skip to content

qwikdraw/io_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IO Game Server

This is the backend for IO Game
It consists of two components, a high performance concurrent websocket server written in Go and a user management server in Python Flask.

Find these in the simulation and users folders respectively.

Protocol

Server-client communication is done with a protocal buffer based message system. Protocal buffers were chosen because they use bandwidth and serialization time more efficently than JSON, especially for WASM.

Building

Requires

  • golang >= 1.11
  • make
  • Python3
  • protoc
  • proto-gen-go

Usage

make
./server --addr <ip>:<port>