Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (23 sloc) 766 Bytes


multiplayer server for tquery experiments


  • keep it simple and minimal
  • try to make it generic

    • aka it isnt specific to a given experiment/game
  • so no security on server ?

    • nevertheless client can implement security on the client side

About API

  • easy to include in a game

About proto


  • each connection got a user
  • a user got a humanName (given by client)
    • unique, server side ?
  • a user got a (given by server)
  • a user got a profile opaque blob (given by the client)
  • a userlist of those information is maintained by the server


  • measure latency with ping
  • ability for client to broadcast message
  • a message rate limiter as anti-DoS measure