Presentation is loading. Please wait.

Presentation is loading. Please wait.

 Architectural overview  Main APIs. getGames.php getGroupsLocations.php getGroupsScores.php getMessage.php getStreet.php getTime.php login.php sendMessage.php.

Similar presentations


Presentation on theme: " Architectural overview  Main APIs. getGames.php getGroupsLocations.php getGroupsScores.php getMessage.php getStreet.php getTime.php login.php sendMessage.php."— Presentation transcript:

1  Architectural overview  Main APIs

2 getGames.php getGroupsLocations.php getGroupsScores.php getMessage.php getStreet.php getTime.php login.php sendMessage.php setGroupLocation.php teamNames.php server DB PHP pages MYSQL clients The clients use Google maps for displaying a map during the game The server uses Google maps and GeoNames during the inserting of questions via the interface Interface to insert questions Architectural overview Sending of messages between clients via the server

3 Architectural overview Client side:  Build game path  Receiving questions and Sending answers  Leader mobile in every team  App for a guide  Uses GPS functionality  Uses Google maps API Server side:  PHP pages for all clients requests  DB of questions and other games info (teams, scores, etc.)  Interface to insert questions (was built for clients)  Smart re-use questions that reappear in more than one city  Used also for messages between guide & teams  Uses Google maps and GeoNames APIs

4 Main APIs  Google maps – Server side uses Google maps during the inserting of questions via the interface. Client side uses Google maps for displaying a map during the game.  GeoNames – Server side uses also GeoNames during the inserting of questions via the interface. It let us a few things that we couldn’t get from Google maps (Mainly handling of streets names). It’s important to mention that most of the use of the APIs is offline, i.e. not during the game, and it is more efficient than online usage. The Interface to insert questions

5 Insertion of a question (pre-game) server DB The user choose a street on the map (Google maps API) and insert a question. The coordinates and the question are sent to the server. The server sends the coordinates to GeoNames. The server gets the required street name and list of coordinates of the street, and save them in the DB with the question. server DB The user sends his location to the server. The server looks in the DB for a question about street with a close coordinates to the user location, and send it to the user. Receiving of a question (during a game)


Download ppt " Architectural overview  Main APIs. getGames.php getGroupsLocations.php getGroupsScores.php getMessage.php getStreet.php getTime.php login.php sendMessage.php."

Similar presentations


Ads by Google