Skip to content

Multiplayer server api

darrenkuo edited this page Dec 9, 2011 · 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