Skip to content

Multiplayer server api

Ben Lickly edited this page May 18, 2016 · 5 revisions

API

The API response from the server tells the location of all the other players, and also whether the requesting player is dead or not. It should include at least the following information:

{
 'players' : [
    { 'pid' : int, 'lat' : float, 'lng' : float, 'pacman?' : bool }
  ],
 'dead' : bool
}
Clone this wiki locally